summaryrefslogtreecommitdiff
path: root/src/plugins/exec
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-01-06 07:26:43 +0100
committerSébastien Helleu <flashcode@flashtux.org>2017-01-06 07:26:43 +0100
commit501437af0701256e64c29d4b7dd0b6d4271275cd (patch)
tree7591565542fe75d6405dd435ef1501ab4f70008d /src/plugins/exec
parent914bda1a74c92385e36707d9717f512522e4ce47 (diff)
downloadweechat-501437af0701256e64c29d4b7dd0b6d4271275cd.zip
exec: fix memory leak in display of process output
Diffstat (limited to 'src/plugins/exec')
-rw-r--r--src/plugins/exec/exec.c2
1 files changed, 2 insertions, 0 deletions
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);
}
/*