summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-06-05 17:22:37 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-06-05 17:22:37 +0200
commit78e39b43b89c6bf9ce401d6030939a004a23c850 (patch)
tree3879a7c5f013ccefd5f0a98eec248482d5321b38 /src
parent9a66640832d103f906c2ef609a1d19d43fc542f6 (diff)
systemctl: fix double unref of a dbus message
Diffstat (limited to 'src')
-rw-r--r--src/systemctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index 99ada38309..a82cce4ae9 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;
}