summaryrefslogtreecommitdiff
path: root/src/plugins/exec/exec-config.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-12-15 22:53:51 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-12-15 22:53:51 +0100
commit75dc8b9d6c2c2f816ecbeffa4d4b048ebc2d5f58 (patch)
tree0ef749137348dca1ee0acd2fdd07184b2cf835f8 /src/plugins/exec/exec-config.c
parent07fbd309487b7de977e5798e67e70de1bd2fed8a (diff)
downloadweechat-75dc8b9d6c2c2f816ecbeffa4d4b048ebc2d5f58.zip
core: fix crash on plugin reload when using musl libs (closes #2052)
Diffstat (limited to 'src/plugins/exec/exec-config.c')
-rw-r--r--src/plugins/exec/exec-config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/exec/exec-config.c b/src/plugins/exec/exec-config.c
index ba21ac65b..856e69b87 100644
--- a/src/plugins/exec/exec-config.c
+++ b/src/plugins/exec/exec-config.c
@@ -206,6 +206,7 @@ void
exec_config_free ()
{
weechat_config_free (exec_config_file);
+ exec_config_file = NULL;
if (exec_config_cmd_options)
{