avoid double free (f[0] freed in caller function)
authorMiloš Mulač <mulac@civ.zcu.cz>
Fri, 11 Jan 2008 14:37:33 +0000 (14:37 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Fri, 11 Jan 2008 14:37:33 +0000 (14:37 +0000)
org.glite.lb.server/src/query.c

index ce9bd38..aabe4e6 100644 (file)
@@ -1260,7 +1260,6 @@ int convert_event_head(edg_wll_Context ctx,char **f,edg_wll_Event *e)
                edg_wll_SetError(ctx,-ret,"edg_wlc_JobIdParse()");
                goto err;
        }
-       free(f[0]);
 
        e->type = atoi(f[1]);
        free(f[1]); f[1] = NULL;