1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 19:23:13 +02:00

core: callback_free_key shouldn't point to already free'd value

This commit is contained in:
Andrew Potter
2014-08-10 15:06:46 -07:00
committed by Sébastien Helleu
parent 4faa227a2d
commit 62d891aea9
4 changed files with 10 additions and 6 deletions
+1 -3
View File
@@ -2815,12 +2815,10 @@ string_shared_keycmp (struct t_hashtable *hashtable,
*/
void
string_shared_free_key (struct t_hashtable *hashtable,
void *key, const void *value)
string_shared_free_key (struct t_hashtable *hashtable, void *key)
{
/* make C compiler happy */
(void) hashtable;
(void) value;
free (key);
}