Memleak fixed.
authorJiří Filipovič <fila@ics.muni.cz>
Tue, 3 Jun 2008 11:47:22 +0000 (11:47 +0000)
committerJiří Filipovič <fila@ics.muni.cz>
Tue, 3 Jun 2008 11:47:22 +0000 (11:47 +0000)
org.glite.lb.state-machine/src/lb_plugin.c

index fc5884b..2197d41 100644 (file)
@@ -255,6 +255,9 @@ cont:
 
        *handle = (void *)h;
 
+       if (id0) free(id0);
+        if (id) free(id);
+
        return 0;
 
 fail: