Don't leak message
[platform/core/uifw/at-spi2-atk.git] / atk-adaptor / bridge.c
index 738c10b..a66f0e2 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;
     }