From: Michal Schmidt Date: Sun, 5 Jun 2011 15:22:37 +0000 (+0200) Subject: systemctl: fix double unref of a dbus message X-Git-Tag: v29~18 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78e39b43b89c6bf9ce401d6030939a004a23c850;p=systemd systemctl: fix double unref of a dbus message --- diff --git a/src/systemctl.c b/src/systemctl.c index 99ada383..a82cce4a 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; }