Changeset 3526
- Timestamp:
- 08/13/08 20:28:57 (4 months ago)
- Files:
-
- 1 modified
-
trunk/tools/osyncplugin.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/osyncplugin.c
r3520 r3526 1214 1214 1215 1215 1216 /* TODO: free command list - for easier memory leak checking */1217 1216 success: 1218 1217 if (plugin_env) 1219 1218 osync_plugin_env_free(plugin_env); 1219 1220 for (o=cmdlist; o; o = o->next) { 1221 Command *cmd = o->data; 1222 free_command(&cmd); 1223 } 1224 1220 1225 1221 1226 return EXIT_SUCCESS; … … 1229 1234 if (plugin_env) 1230 1235 osync_plugin_env_free(plugin_env); 1236 1237 for (o=cmdlist; o; o = o->next) { 1238 Command *cmd = o->data; 1239 free_command(&cmd); 1240 } 1241 1231 1242 error: 1232 1243 fprintf(stderr, "Error: %s\n", osync_error_print(&error));
