Don't leak message
authorWilliam Jon McCann <jmccann@redhat.com>
Fri, 14 Sep 2012 21:11:37 +0000 (17:11 -0400)
committerMike Gorse <mgorse@suse.com>
Mon, 17 Sep 2012 23:17:20 +0000 (18:17 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=684077

atk-adaptor/bridge.c

index 738c10bd7af2a7f49157e21a8bca28795b7826d4..a66f0e26fbc2de90025322a5c4fdf6272a35c0bf 100644 (file)
@@ -291,6 +291,7 @@ register_application (SpiBridge * app)
     if (!dbus_connection_send_with_reply (app->bus, message, &pending, -1)
         || !pending)
     {
+        dbus_message_unref (message);
         return FALSE;
     }