mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
libdaemon-server: Fix a memory leak in daemon_log_multi.
This commit is contained in:
parent
7a64fff948
commit
cc9c02fe68
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user