summaryrefslogtreecommitdiff
path: root/src/plugins/typing/typing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/typing/typing.c')
-rw-r--r--src/plugins/typing/typing.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/typing/typing.c b/src/plugins/typing/typing.c
index c1cb1990c..dc0c51080 100644
--- a/src/plugins/typing/typing.c
+++ b/src/plugins/typing/typing.c
@@ -440,8 +440,7 @@ typing_typing_set_nick_signal_cb (const void *pointer, void *data,
weechat_bar_item_update (TYPING_BAR_ITEM_NAME);
end:
- if (items)
- weechat_string_free_split (items);
+ weechat_string_free_split (items);
return WEECHAT_RC_OK;
}