[PATCH] virtlogd: Fix a couple minor memory leaks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1303885
---
 src/logging/log_daemon.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/logging/log_daemon.c b/src/logging/log_daemon.c
index 68f0647..f674cbd 100644
--- a/src/logging/log_daemon.c
+++ b/src/logging/log_daemon.c
@@ -1212,6 +1212,8 @@ int main(int argc, char **argv) {
     VIR_FREE(sock_file);
     VIR_FREE(state_file);
     VIR_FREE(run_dir);
+    VIR_FREE(remote_config_file);
+    virLogDaemonConfigFree(config);
     return ret;
 
  no_memory:
-- 
2.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]