diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 9b5497b4c..857b9bf76 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -26,6 +26,7 @@ New features:: * core: add option "time" in command /debug * api: add info "uptime" (WeeChat uptime) * api: add info "pid" (WeeChat PID) (issue #850) + * exec: fix memory leak in display of process output * fifo: add file fifo.conf and option fifo.file.path to customize FIFO pipe path/filename (issue #850) * irc: add server option "usermode" (issue #377, issue #820) * irc: add tag "self_msg" on self messages (issue #840) diff --git a/src/plugins/exec/exec.c b/src/plugins/exec/exec.c index 61a517a2e..05fb97ae4 100644 --- a/src/plugins/exec/exec.c +++ b/src/plugins/exec/exec.c @@ -340,6 +340,8 @@ exec_display_line (struct t_exec_cmd *exec_cmd, struct t_gui_buffer *buffer, line_color); } } + + free (line_color); } /*