1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-03 06:45:51 +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:
dan
2003-04-11 21:22:59 +00:00
parent 528243bb98
commit e1958b22c5
3 changed files with 5 additions and 2 deletions

View File

@@ -266,7 +266,8 @@ changes since wmaker 0.62.1:
as a result the shaded windows didn't go away when closed. The non-shaded
windows were unmapped on close but not destroyed either so they only
apparently went away, but continued to use memory).
- 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)
changes since wmaker 0.62.0:

View File

@@ -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;
}