mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-09 01:45:48 +01:00
Fixed a bug in the hashtable code which free'd the whole item instead of
just the item key in WMResetHashTable() (possible source of SIGSEGVs)
This commit is contained in:
@@ -148,7 +148,7 @@ WMResetHashTable(WMHashTable *table)
|
||||
item = table->table[i];
|
||||
while (item) {
|
||||
tmp = item->next;
|
||||
RELKEY(table, item);
|
||||
RELKEY(table, item->key);
|
||||
wfree(item);
|
||||
item = tmp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user