diff options
Diffstat (limited to 'lib/c_glib/test')
-rwxr-xr-x | lib/c_glib/test/testthrifttestclient.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/c_glib/test/testthrifttestclient.cpp b/lib/c_glib/test/testthrifttestclient.cpp index faf81db5c..a80ddf33c 100755 --- a/lib/c_glib/test/testthrifttestclient.cpp +++ b/lib/c_glib/test/testthrifttestclient.cpp @@ -530,8 +530,7 @@ test_thrift_client (void) assert (t_test_thrift_test_client_test_exception (iface, "ApplicationException", &xception, &error) == FALSE); g_error_free (error); error = NULL; - g_object_unref (xception); - xception = NULL; + assert (xception == NULL); assert (t_test_thrift_test_client_test_exception (iface, "Test", &xception, &error) == TRUE); assert (error == NULL); |