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:
114902c
)
Fix small memleak in *_Event structure.
author
František Dvořák
<valtri@civ.zcu.cz>
Mon, 17 Jan 2005 16:33:26 +0000
(16:33 +0000)
committer
František Dvořák
<valtri@civ.zcu.cz>
Mon, 17 Jan 2005 16:33:26 +0000
(16:33 +0000)
org.glite.lb.common/src/events.c.T
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.common/src/events.c.T
b/org.glite.lb.common/src/events.c.T
index
3d0861a
..
7cbc49f
100644
(file)
--- a/
org.glite.lb.common/src/events.c.T
+++ b/
org.glite.lb.common/src/events.c.T
@@
-338,6
+338,12
@@
for my $t (sort { $event->{order}->{$a} <=> $event->{order}->{$b} }
if ($ft eq 'string') {
gen $indent."\tif (event->$tl.$fn) free(event->$tl.$fn);\n"
}
+ if ($ft eq 'jobid') {
+ gen $indent."\tif (event->$tl.$fn) edg_wlc_JobIdFree(event->$tl.$fn);\n"
+ }
+ if ($ft eq 'notifid') {
+ gen $indent."\tif (event->$tl.$fn) edg_wll_NotifIdFree(event->$tl.$fn);\n"
+ }
}
gen $indent.$indent."break;\n"
}