master - libdaemon-server: Fix a memory leak in daemon_log_multi.
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=cc9c02fe68f6ee8f5f6bcf885c1ed41387778bb7 Commit: cc9c02fe68f6ee8f5f6bcf885c1ed41387778bb7 Parent: 7a64fff948278604d287ac96d9783a6b896de99b Author: Petr Rockai <[email protected]> AuthorDate: Mon Oct 8 17:11:43 2012 +0200 Committer: Petr Rockai <[email protected]> CommitterDate: Mon Oct 8 20:35:29 2012 +0200
libdaemon-server: Fix a memory leak in daemon_log_multi.
--- libdaemon/server/daemon-log.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
libdaemon/server/daemon-log.c +1 -0
@@ -98,6 +98,7 @@ void daemon_log_multi(log_state *s, int type, const char *prefix, const char *ms_log_line (pos, &b); pos = next ? next +1 :0 ; } +dm_free (buf); }void daemon_log_enable (log_state *s,int outlet,int type,int enable)