mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
command: plug memory leak
* src/util/command.c (virCommandFree): Free data from virCommandSetInputBuffer.
This commit is contained in:
parent
2a5ccbefb0
commit
f12d416927
@ -1198,6 +1198,7 @@ virCommandFree(virCommandPtr cmd)
|
||||
}
|
||||
}
|
||||
|
||||
VIR_FREE(cmd->inbuf);
|
||||
VIR_FORCE_CLOSE(cmd->outfd);
|
||||
VIR_FORCE_CLOSE(cmd->errfd);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user