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:
b1d0dc6
)
memleaks
author
Miloš Mulač
<mulac@civ.zcu.cz>
Fri, 11 Sep 2009 13:54:25 +0000
(13:54 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Fri, 11 Sep 2009 13:54:25 +0000
(13:54 +0000)
org.glite.lb.server/src/store.c.T
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/store.c.T
b/org.glite.lb.server/src/store.c.T
index
b64dd78
..
6f614cd
100644
(file)
--- a/
org.glite.lb.server/src/store.c.T
+++ b/
org.glite.lb.server/src/store.c.T
@@
-125,6
+125,7
@@
int edg_wll_StoreEvent(edg_wll_Context ctx,edg_wll_Event *e,const char *ulm,int
if (edg_wll_ExecSQL(ctx,stmt,&sh) < 0 ||
edg_wll_FetchRow(ctx,sh,1,NULL,&max) < 0) goto clean;
glite_lbu_FreeStmt(&sh);
+ free(stmt);
next = (max && *max) ? atoi(max) : 0;
free(max);
@@
-374,6
+375,7
@@
err:
if (stmt) glite_lbu_FreeStmt(&stmt);
free(subj);
free(userid);
+ free(unique);
if (q) free(q);
if (owner) free(owner);