git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd92614
)
avoid double free (f[0] freed in caller function)
author
Miloš Mulač
<mulac@civ.zcu.cz>
Fri, 11 Jan 2008 14:37:33 +0000
(14:37 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Fri, 11 Jan 2008 14:37:33 +0000
(14:37 +0000)
org.glite.lb.server/src/query.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/query.c
b/org.glite.lb.server/src/query.c
index
ce9bd38
..
aabe4e6
100644
(file)
--- a/
org.glite.lb.server/src/query.c
+++ b/
org.glite.lb.server/src/query.c
@@
-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;