mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
_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:
parent
86af6925d9
commit
9e73782f72
@ -508,7 +508,6 @@ _destroy_tab(StatusBarTab *tab)
|
||||
}
|
||||
free(tab);
|
||||
}
|
||||
tab = NULL;
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user