summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/typing/typing-config.c2
-rw-r--r--src/plugins/typing/typing.c10
2 files changed, 11 insertions, 1 deletions
diff --git a/src/plugins/typing/typing-config.c b/src/plugins/typing/typing-config.c
index dacfd6b70..bd76e8ba0 100644
--- a/src/plugins/typing/typing-config.c
+++ b/src/plugins/typing/typing-config.c
@@ -64,7 +64,7 @@ typing_config_reload (const void *pointer, void *data,
}
/*
- * Callback for changes on option "typing.look.enabled".
+ * Callback for changes on options "typing.look.enabled_*".
*/
void
diff --git a/src/plugins/typing/typing.c b/src/plugins/typing/typing.c
index 033ac5838..cc5b38dbd 100644
--- a/src/plugins/typing/typing.c
+++ b/src/plugins/typing/typing.c
@@ -518,6 +518,11 @@ typing_setup_hooks ()
typing_modifier_input_text_for_buffer = NULL;
weechat_unhook (typing_timer);
typing_timer = NULL;
+ if (typing_status_self)
+ {
+ weechat_hashtable_free (typing_status_self);
+ typing_status_self = NULL;
+ }
}
}
@@ -551,6 +556,11 @@ typing_setup_hooks ()
typing_signal_typing_set_nick = NULL;
weechat_unhook (typing_signal_typing_reset_buffer);
typing_signal_typing_reset_buffer = NULL;
+ if (typing_status_nicks)
+ {
+ weechat_hashtable_free (typing_status_nicks);
+ typing_status_nicks = NULL;
+ }
}
}
}