_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.
This commit is contained in:
Michael Vetter
2020-04-20 16:10:24 +02:00
parent 86af6925d9
commit 9e73782f72

View File

@@ -508,7 +508,6 @@ _destroy_tab(StatusBarTab *tab)
}
free(tab);
}
tab = NULL;
}
static int