richardphibel / rpms / systemd

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