git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6042ec5
)
perl: Memory leak: Free roots array along handle close path.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 29 Nov 2011 18:19:54 +0000
(18:19 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 2 Dec 2011 08:37:00 +0000
(08:37 +0000)
(cherry picked from commit
00c9755ee3bea98968acea47bac858db94f7fbe2
)
generator/generator_perl.ml
patch
|
blob
|
history
diff --git
a/generator/generator_perl.ml
b/generator/generator_perl.ml
index
c9ec4fb
..
10a2387
100644
(file)
--- a/
generator/generator_perl.ml
+++ b/
generator/generator_perl.ml
@@
-181,6
+181,7
@@
_close_handle (guestfs_h *g)
for (i = 0; i < len; ++i)
SvREFCNT_dec (cbs[i]);
+ free (cbs);
}
MODULE = Sys::Guestfs PACKAGE = Sys::Guestfs