From f12d4169278a28e7d2b57fe5ffa5df3e853bf1c9 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 10 Dec 2010 08:56:30 -0700 Subject: [PATCH] command: plug memory leak * src/util/command.c (virCommandFree): Free data from virCommandSetInputBuffer. --- src/util/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/command.c b/src/util/command.c index 089e0bd536..5e2b19aff7 100644 --- a/src/util/command.c +++ b/src/util/command.c @@ -1198,6 +1198,7 @@ virCommandFree(virCommandPtr cmd) } } + VIR_FREE(cmd->inbuf); VIR_FORCE_CLOSE(cmd->outfd); VIR_FORCE_CLOSE(cmd->errfd); -- GitLab