about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-04-20 16:10:24 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-04-20 16:10:24 +0200
commit9e73782f72f53aa8ce07c07e3407fecf4b501bad (patch)
treee7f74574f57cfbf8bd3ada87ed94b355b499ada5
parent86af6925d9fc0b2656eac15b0c8c7aba60589ce5 (diff)
downloadprofani-tty-9e73782f72f53aa8ce07c07e3407fecf4b501bad.tar.gz
_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.
-rw-r--r--src/ui/statusbar.c1
1 files changed, 0 insertions, 1 deletions
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