Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
0608ae2d4e
g_hash_table_insert() doesn't replace the key. This was a problem because the key was owned by the value inserted into the hash table, so when a value was removed, the key was freed, meaning that the key in the hash table was no pointing to freed memory. Fix this by using g_hash_table_replace() instead, which work the same except that it replaces the key with the one passed. This means that the key of a value in the hash table is always the key owned by the value. https://bugzilla.gnome.org/show_bug.cgi?id=777732 |
||
---|---|---|
clutter | ||
cogl | ||
data | ||
doc | ||
po | ||
src | ||
tools | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
mutter.doap | ||
NEWS |