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:
a073e2f
)
Setting freed values to NULL. Non-NULL values caused the code to crash on further...
author
Zdeněk Šustr
<sustr4@cesnet.cz>
Mon, 23 Jun 2008 13:19:20 +0000
(13:19 +0000)
committer
Zdeněk Šustr
<sustr4@cesnet.cz>
Mon, 23 Jun 2008 13:19:20 +0000
(13:19 +0000)
org.glite.lb.server/src/jobstat.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/jobstat.c
b/org.glite.lb.server/src/jobstat.c
index
52b2585
..
f2ae024
100644
(file)
--- a/
org.glite.lb.server/src/jobstat.c
+++ b/
org.glite.lb.server/src/jobstat.c
@@
-370,7
+370,7
@@
int edg_wll_intJobStatus(
if (edg_wll_QueryEventsServer(ctx,1, (const edg_wll_QueryRec **)jqra, NULL, &events)) {
free(string_jobid);
free(jqra);
- free(intstat->pub.owner);
+ free(intstat->pub.owner);
intstat->pub.owner = NULL;
return edg_wll_Error(ctx, NULL, NULL);
}
free(jqra);
@@
-380,7
+380,7
@@
int edg_wll_intJobStatus(
if (num_events == 0) {
free(string_jobid);
- free(intstat->pub.owner);
+ free(intstat->pub.owner);
intstat->pub.owner = NULL;
return edg_wll_SetError(ctx,ENOENT,NULL);
}