Fix a memory leak when emitting some signals from the registry
authorMike Gorse <mgorse@novell.com>
Sat, 8 Jan 2011 12:15:45 +0000 (06:15 -0600)
committerMike Gorse <mgorse@novell.com>
Sat, 8 Jan 2011 12:18:49 +0000 (06:18 -0600)
registryd/deviceeventcontroller.c

index b5a8e58..3e82469 100644 (file)
@@ -421,6 +421,7 @@ static void emit(SpiDEController *controller, const char *interface, const char
   dbus_message_iter_close_container (&iter, &iter_struct);
 
   dbus_connection_send (controller->bus, signal, NULL);
+  dbus_message_unref (signal);
 }
 
 static gboolean