migration from private to rsa
[external/dbus-glib.git] / test / core / test-thread-server.c
index 6c11fa2..578b66d 100755 (executable)
@@ -1,3 +1,5 @@
+#include <config.h>
+
 #include <glib.h>
 #include <dbus/dbus-glib-lowlevel.h>
 #include <stdio.h>
@@ -102,6 +104,7 @@ filter_test_message (DBusConnection     *connection,
   if (strcmp (expected_str, str) != 0)
     {
       g_print ("Wrong string '%s', expected '%s'\n", str, expected_str);
+      g_free (expected_str);
       goto out;
     }
   g_free (expected_str);