mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 17:56:10 -05:00
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 |
||
---|---|---|
.. | ||
backends | ||
compositor | ||
core | ||
meta | ||
tests | ||
ui | ||
wayland | ||
x11 | ||
.cvsignore | ||
libmutter.pc.in | ||
Makefile-tests.am | ||
Makefile.am | ||
meta-enum-types.c.in | ||
meta-enum-types.h.in | ||
org.freedesktop.login1.xml | ||
org.gnome.Mutter.DisplayConfig.xml | ||
org.gnome.Mutter.IdleMonitor.xml | ||
stamp-mutter-enum-types.h |