Eo: Fixed memory leaks in the tests.

SVN revision: 71289
This commit is contained in:
Tom Hacohen 2012-05-21 15:18:54 +00:00
parent c41ffc3970
commit d618f543c5
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,7 @@ START_TEST(eo_man_free)
fail_if(!obj);
eo_manual_free(obj);
eo_unref(obj);
eo_manual_free(obj);
obj = eo_add(klass, NULL);
fail_if(!obj);
@ -305,6 +306,7 @@ START_TEST(eo_op_errors)
fail_if(!eo_do(obj, simple_a_print()));
fail_if(!eo_query(obj, simple_a_print()));
fail_if(eo_query(obj, simple_a_set(1)));
eo_unref(obj);
eo_shutdown();
}