From 9e73782f72f53aa8ce07c07e3407fecf4b501bad Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 20 Apr 2020 16:10:24 +0200 Subject: _destroy_tab() dont set tab to NULL Setting the local pointer to NULL has no effect. _destroy_tab() is used for g_hash_table_new_full() so we cant use a ** and set tab to NULL. --- src/ui/statusbar.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ui') diff --git a/src/ui/statusbar.c b/src/ui/statusbar.c index 82fa5c66..94ec13f8 100644 --- a/src/ui/statusbar.c +++ b/src/ui/statusbar.c @@ -508,7 +508,6 @@ _destroy_tab(StatusBarTab *tab) } free(tab); } - tab = NULL; } static int -- cgit 1.4.1-2-gfad0