chiark / gitweb /
dbus: properly unref message
authorLennart Poettering <lennart@poettering.net>
Tue, 28 Jun 2011 10:49:52 +0000 (12:49 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 28 Jun 2011 10:49:52 +0000 (12:49 +0200)
src/dbus.c

index 6690690..8c7f0ab 100644 (file)
@@ -1310,6 +1310,6 @@ void bus_broadcast_finished(
         }
 
 finish:
-        if (m)
+        if (message)
                 dbus_message_unref(message);
 }