summaryrefslogtreecommitdiff
path: root/src/plugins/trigger
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-22 20:23:08 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-22 20:23:08 +0100
commit980326c685d74dffe1c6b02608301adcf4e5203c (patch)
tree0a4492b2963c32b92324fd3de2fb3703d3f328b6 /src/plugins/trigger
parent76469269cef45b7d2d563f96e67b82f04f3365ee (diff)
downloadweechat-980326c685d74dffe1c6b02608301adcf4e5203c.zip
trigger: fix potential uninitialized pointer in signal hook callback
Diffstat (limited to 'src/plugins/trigger')
-rw-r--r--src/plugins/trigger/trigger-callback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/trigger/trigger-callback.c b/src/plugins/trigger/trigger-callback.c
index 6dbff9874..398b8f22b 100644
--- a/src/plugins/trigger/trigger-callback.c
+++ b/src/plugins/trigger/trigger-callback.c
@@ -385,6 +385,7 @@ trigger_callback_signal_cb (void *data, const char *signal,
}
/* add data in hashtable used for conditions/replace/command */
+ ptr_signal_data = NULL;
weechat_hashtable_set (extra_vars, "tg_signal", signal);
if (strcmp (type_data, WEECHAT_HOOK_SIGNAL_STRING) == 0)
{