THRIFT-3267 c_glib: "Critical" failure during unit tests
Client: c_glib
Patch: Simon South
diff --git a/lib/c_glib/test/testthrifttestclient.cpp b/lib/c_glib/test/testthrifttestclient.cpp
index faf81db..a80ddf3 100755
--- a/lib/c_glib/test/testthrifttestclient.cpp
+++ b/lib/c_glib/test/testthrifttestclient.cpp
@@ -530,8 +530,7 @@
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);