some memory leaks has been fixed
authorJiří Filipovič <fila@ics.muni.cz>
Mon, 29 Jan 2007 16:07:13 +0000 (16:07 +0000)
committerJiří Filipovič <fila@ics.muni.cz>
Mon, 29 Jan 2007 16:07:13 +0000 (16:07 +0000)
org.glite.lb.server/src/lb_plugin.c

index 4d70b21..2658399 100644 (file)
@@ -97,11 +97,13 @@ int init(glite_jp_context_t ctx, glite_jpps_fplug_data_t *data) {
 
 
 void done(glite_jp_context_t ctx, glite_jpps_fplug_data_t *data) {
-
        free(data->uris[0]);
        free(data->classes[0]);
+       free(data->namespaces[0]);
+       free(data->namespaces[1]);
        free(data->uris);
        free(data->classes);
+       free(data->namespaces);
        memset(data, 0, sizeof(*data));
 }