fix SEGV by not using uninitialized memory as array index.
authorMichael Natterer <mitch@imendio.com>
Tue, 10 Jun 2008 10:51:29 +0000 (10:51 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Tue, 10 Jun 2008 10:51:29 +0000 (10:51 +0000)
commitb15a223a8ab3b411b49a854470d0df003acba8b2
tree123ce940c1e186f4013fda31c7af032bc8843fb4
parent8b5ad297dacab81e7d528d5ab203d2eb37747958
fix SEGV by not using uninitialized memory as array index.

2008-06-10  Michael Natterer  <mitch@imendio.com>

* gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
uninitialized memory as array index.

svn path=/trunk/; revision=6981
gio/ChangeLog
gio/gcontenttype.c