daemon: Fix memory leak in --monitor implementation.
[sliver-openvswitch.git] / lib / daemon.c
index 140e0f7..46c9a88 100644 (file)
@@ -364,6 +364,7 @@ monitor_daemon(pid_t daemon_pid)
             }
         }
     }
+    free(status_msg);
 
     /* Running in new daemon process. */
     proctitle_restore();