X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fproto.c;h=e34e4ec0a17e8b23b56bb1913e07a4ad53c71c0c;hb=9a5f784d511a8f00a8386f316eab41fe660430db;hp=be7fbdcf74a93920a2383abaa64d51c56d159342;hpb=9ec9c97ce2ba46e56b304d3a367c86adc703160d;p=libguestfs.git diff --git a/src/proto.c b/src/proto.c index be7fbdc..e34e4ec 100644 --- 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;