g_strdup the keys that we are passed before adding them to the hash
authorTor Lillqvist <tml@novell.com>
Sat, 7 Oct 2006 19:27:17 +0000 (19:27 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sat, 7 Oct 2006 19:27:17 +0000 (19:27 +0000)
commit891fcada5d01bcef941bd6a610014aad532baf13
tree10061d6a1f9f479483cd0f4b84d44cfb473c91cd
parent6b21f5f6d73dda480e38f24d2deeaa8e6d025b17
g_strdup the keys that we are passed before adding them to the hash

2006-10-07  Tor Lillqvist  <tml@novell.com>

* glib/gwin32.c (get_package_directory_from_module)
(g_win32_get_package_installation_directory): g_strdup the keys
that we are passed before adding them to the hash tables, to guard
against the caller freeing them. (#355955, Andreas Köhler)
ChangeLog
glib/gwin32.c