mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-26 05:12:20 +00:00
virtlogd: Fix a couple minor memory leaks
https://bugzilla.redhat.com/show_bug.cgi?id=1303885 (cherry picked from commit cdced0128a45fb44c687325376311dabb1116324)
This commit is contained in:
parent
a76ae293c3
commit
4dacbcf2e4
@ -1212,6 +1212,8 @@ int main(int argc, char **argv) {
|
|||||||
VIR_FREE(sock_file);
|
VIR_FREE(sock_file);
|
||||||
VIR_FREE(state_file);
|
VIR_FREE(state_file);
|
||||||
VIR_FREE(run_dir);
|
VIR_FREE(run_dir);
|
||||||
|
VIR_FREE(remote_config_file);
|
||||||
|
virLogDaemonConfigFree(config);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
no_memory:
|
no_memory:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user