_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:
@@ -508,7 +508,6 @@ _destroy_tab(StatusBarTab *tab)
|
||||
}
|
||||
free(tab);
|
||||
}
|
||||
tab = NULL;
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user