mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
virsh: Free returned MIME type string
In terms of documentation to virDomainScreenshot, caller MUST free returned value. But virsh was not.
This commit is contained in:
parent
dcaeb74a31
commit
0fe2b40d5a
@ -3097,6 +3097,7 @@ cleanup:
|
||||
if (st)
|
||||
virStreamFree(st);
|
||||
VIR_FORCE_CLOSE(fd);
|
||||
VIR_FREE(mime);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user