mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
trigger: remove check of NULL pointers before calling trigger_free() (issue #865)
This commit is contained in:
@@ -629,7 +629,7 @@ TEST(Trigger, New)
|
||||
POINTERS_EQUAL(NULL, trigger_search_with_option (NULL));
|
||||
POINTERS_EQUAL(NULL, trigger_search_with_option (config_look_day_change));
|
||||
|
||||
/* invalid free */
|
||||
/* test free of NULL trigger */
|
||||
trigger_free (NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user