diff options
author | Jens Geyer <jensg@apache.org> | 2015-07-28 23:46:02 +0200 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2015-07-28 23:46:02 +0200 |
commit | 482da722b9c42b5678b8a2ad2d0b0828ab24a8f6 (patch) | |
tree | 11ed5815490f999e39cc5491472d17b6faee8344 /lib/c_glib/test | |
parent | 1c1902788bef82c0dbf2b10b2d39767ce94a1c38 (diff) | |
download | thrift-482da722b9c42b5678b8a2ad2d0b0828ab24a8f6.tar.gz |
THRIFT-3267 c_glib: "Critical" failure during unit tests
Client: c_glib
Patch: Simon South
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); |