menu markup: tolerate not having a hash table of objects
authorMatthias Clasen <mclasen@redhat.com>
Thu, 15 Dec 2011 02:05:38 +0000 (21:05 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 15 Dec 2011 02:05:38 +0000 (21:05 -0500)
commita6eda97d8e8440ea5b04c081d444916dc51ad220
tree8647b44d4ac91471b59b1176785ae0a3d7558701
parente129deb0170c8a18e662c53db799f2ba16ebf26f
menu markup: tolerate not having a hash table of objects

Various places in the code were assuming that the hash table was always
available. Fix this, and also avoid leaking strings now that the hash
table may be NULL.

Based on a patch by Simon McVittie, bug 666167
gio/gmenumarkup.c