[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2/2] xenstore: don't leak permissions info in 'xenstore ls -p'
Signed-off-by: Matthew Daley <mattjd@xxxxxxxxx> --- tools/xenstore/xenstore_client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/xenstore/xenstore_client.c b/tools/xenstore/xenstore_client.c index 996ee64..f42d06d 100644 --- a/tools/xenstore/xenstore_client.c +++ b/tools/xenstore/xenstore_client.c @@ -214,6 +214,7 @@ static void do_ls(struct xs_handle *h, char *path, int cur_depth, int show_perms fputs(buf, stdout); } putchar(')'); + free(perms); } } -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |