git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
extra tests: Run C API tests under valgrind.
[libguestfs.git]
/
src
/
proto.c
diff --git
a/src/proto.c
b/src/proto.c
index
be7fbdc
..
e34e4ec
100644
(file)
--- a/
src/proto.c
+++ b/
src/proto.c
@@
-1090,6
+1090,7
@@
guestfs___recv_discard (guestfs_h *g, const char *fn)
again:
r = guestfs___recv_from_daemon (g, &size, &buf);
+ free (buf);
if (r == -1)
return -1;