From: <svn...@op...> - 2009-10-06 15:32:47
|
Author: bellmich Date: Tue Oct 6 17:32:24 2009 New Revision: 1322 URL: http://libsyncml.opensync.org/changeset/1322 Log: fixed another memory leak in a test Modified: trunk/ChangeLog trunk/tests/check_data_sync_api.c Modified: trunk/ChangeLog ============================================================================== --- trunk/ChangeLog Tue Oct 6 16:24:06 2009 (r1321) +++ trunk/ChangeLog Tue Oct 6 17:32:24 2009 (r1322) @@ -1,5 +1,6 @@ * Only data sync and dev inf API survive API renewal * server can handle now several sessions at once + * transport cleanup is now much more robust * map fragmentation is supported * Jim Radford <ra...@bl...> supplied a fix for some hangs on 64 bit machines because of mixed data types (r1285). Modified: trunk/tests/check_data_sync_api.c ============================================================================== --- trunk/tests/check_data_sync_api.c Tue Oct 6 16:24:06 2009 (r1321) +++ trunk/tests/check_data_sync_api.c Tue Oct 6 17:32:24 2009 (r1322) @@ -315,6 +315,8 @@ sml_fail_unless(sml_map_item_set_remote(map, remote, error), "%s", GET_ERROR_MESSAGE((*error))); sml_fail_unless(sml_map_item_set_local(map, local, error), "%s", GET_ERROR_MESSAGE((*error))); sml_fail_unless(sml_map_item_is_compliant(map, error), "%s", GET_ERROR_MESSAGE((*error))); + g_object_unref(local); + local = NULL; /* add the mapping to the session */ |