]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virtlogd: Fix a couple minor memory leaks
authorCole Robinson <crobinso@redhat.com>
Sun, 10 Apr 2016 23:19:25 +0000 (19:19 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 20 Apr 2016 13:20:24 +0000 (09:20 -0400)
https://bugzilla.redhat.com/show_bug.cgi?id=1303885
(cherry picked from commit cdced0128a45fb44c687325376311dabb1116324)

src/logging/log_daemon.c

index 68f0647638b3f76cc7854a03e61ad0b7e5c9c961..f674cbd51402f1fd0a9fca5503deb76a9014cc9a 100644 (file)
@@ -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: