
18 Dec
2018
18 Dec
'18
2:40 p.m.
On 12/17/18 3:55 PM, John Ferlan wrote:
Using a combination of VIR_ALLOC and VIR_STRDUP into a local variable and then jumping to error on the VIR_STRDUP before assiging it into the @data would cause a memory leak. Let's just avoid that by assiging directly into @data.
Signed-off-by: John Ferlan <jferlan@redhat.com> --- src/remote/remote_daemon_dispatch.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-)
ACK Michal