Coverity-ID: 1401603

Signed-off-by: Wei Liu <[email protected]>
---
Cc: Ian Jackson <[email protected]>
Cc: Juergen Gross <[email protected]> 
---
 tools/xenstore/xenstored_control.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/xenstore/xenstored_control.c 
b/tools/xenstore/xenstored_control.c
index 7c149117b1..d99b7eb7f9 100644
--- a/tools/xenstore/xenstored_control.c
+++ b/tools/xenstore/xenstored_control.c
@@ -171,6 +171,8 @@ static int do_control_help(void *ctx, struct connection 
*conn,
        resp[len] = 0;
 
        send_reply(conn, XS_CONTROL, resp, len);
+
+       talloc_free(resp);
        return 0;
 }
 
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

Reply via email to