summaryrefslogtreecommitdiff
path: root/src/plugins/exec/exec-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/exec/exec-buffer.c')
-rw-r--r--src/plugins/exec/exec-buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/exec/exec-buffer.c b/src/plugins/exec/exec-buffer.c
index 76eeec11c..3e4cd3e66 100644
--- a/src/plugins/exec/exec-buffer.c
+++ b/src/plugins/exec/exec-buffer.c
@@ -189,8 +189,7 @@ exec_buffer_new (const char *name, int free_content, int clear_buffer,
&exec_buffer_input_cb, NULL, NULL,
&exec_buffer_close_cb, NULL, NULL);
- if (buffer_props)
- weechat_hashtable_free (buffer_props);
+ weechat_hashtable_free (buffer_props);
/* failed to create buffer ? then return */
if (!new_buffer)