From: <svn...@op...> - 2010-11-15 19:23:38
|
Author: scriptor Date: Mon Nov 15 20:23:27 2010 New Revision: 6160 URL: http://www.opensync.org/changeset/6160 Log: Removed an unused variable. Modified: plugins/ldap-sync/src/ldap_plugin.c Modified: plugins/ldap-sync/src/ldap_plugin.c ============================================================================== --- plugins/ldap-sync/src/ldap_plugin.c Mon Nov 15 20:23:20 2010 (r6159) +++ plugins/ldap-sync/src/ldap_plugin.c Mon Nov 15 20:23:27 2010 (r6160) @@ -558,7 +558,6 @@ // Get the latest stored anchor from the device - char *path_field = g_strdup_printf("path_%s", osync_objtype_sink_get_name(sinkenv->sink)); osync_bool state_match; OSyncSinkStateDB *state_db = osync_objtype_sink_get_state_db(sinkenv->sink); if (state_db == NULL) { @@ -638,10 +637,6 @@ out: // Clean up - if (path_field) { - g_free(path_field); - path_field = NULL; - } if (timestamp) { g_free(timestamp); @@ -654,11 +649,6 @@ error: // Clean up - if (path_field) { - g_free(path_field); - path_field = NULL; - } - if (timestamp) { g_free(timestamp); timestamp = NULL; |