]> icculus.org git repositories - dana/openbox.git/commit
don't free lists in the linkbase hash table prematurely.
authorDana Jansens <danakj@orodu.net>
Tue, 25 Jan 2011 18:25:22 +0000 (13:25 -0500)
committerDana Jansens <danakj@orodu.net>
Sun, 30 Sep 2012 16:05:56 +0000 (12:05 -0400)
commitcff0c8956b5d33885e6d2e18f06a6e6054362cef
tree7c3ad42dff4c1fa18e55059cf24b360236d0b28d
parent6e6844838861ad660166e6f6062c1111ae7410c6
don't free lists in the linkbase hash table prematurely.

the values (GSList objects) are freed by the hash table's free function if a
new value is inserted.  if we change the list and reinsert it, then it would
cause the list we're inserting to get freed (partially).  not good.  so instead
we manually free them when we remove them/destroy the hash table.
obt/linkbase.c