daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
65878a
From 3b6a01f5fc0a4770d9c55a1c7fb1addc231f3021 Mon Sep 17 00:00:00 2001
65878a
From: Michal Sekletar <msekleta@redhat.com>
65878a
Date: Mon, 18 Aug 2014 16:12:45 +0200
65878a
Subject: [PATCH] service: don't free status_text twice
65878a
65878a
Related: #1106457
65878a
---
65878a
 src/core/service.c | 3 ---
65878a
 1 file changed, 3 deletions(-)
65878a
65878a
diff --git a/src/core/service.c b/src/core/service.c
65878a
index a6d046c..4366e1b 100644
65878a
--- a/src/core/service.c
65878a
+++ b/src/core/service.c
65878a
@@ -3519,9 +3519,6 @@ static void service_notify_message(Unit *u, pid_t pid, char **tags) {
65878a
 
65878a
                         log_debug_unit(u->id,
65878a
                                        "%s: got %s", u->id, e);
65878a
-
65878a
-                        free(s->status_text);
65878a
-                        s->status_text = t;
65878a
                 } else
65878a
                         t = NULL;
65878a