[systemd-commits] src/systemctl.c

Kay Sievers kay at kemper.freedesktop.org
Sun Jun 5 08:23:54 PDT 2011


 src/systemctl.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 78e39b43b89c6bf9ce401d6030939a004a23c850
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Sun Jun 5 17:22:37 2011 +0200

    systemctl: fix double unref of a dbus message

diff --git a/src/systemctl.c b/src/systemctl.c
index 99ada38..a82cce4 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -1565,6 +1565,7 @@ static int check_unit(DBusConnection *bus, char **args, unsigned n) {
 
                         dbus_error_free(&error);
                         dbus_message_unref(m);
+                        m = NULL;
                         continue;
                 }
 



More information about the systemd-commits mailing list