diff options
author | Martin Wehner <martin.wehner@epost.de> | 2005-01-27 19:10:45 +0000 |
---|---|---|
committer | Martin Wehner <mwehner@src.gnome.org> | 2005-01-27 19:10:45 +0000 |
commit | 846d28384eaa3107432b01dfcca1931b8e348d2e (patch) | |
tree | 199112f5421f38c8d49db5cc3ef2e54557a7a141 /src/nautilus-main.c | |
parent | 2e000b4d9c872d6b045a7a9dd9e9fc80c58e2438 (diff) | |
download | nautilus-846d28384eaa3107432b01dfcca1931b8e348d2e.tar.gz |
Don't try to free NULL icon info.
2005-01-27 Martin Wehner <martin.wehner@epost.de>
* src/nautilus-main.c: (register_icons):
Don't try to free NULL icon info.
Diffstat (limited to 'src/nautilus-main.c')
-rw-r--r-- | src/nautilus-main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nautilus-main.c b/src/nautilus-main.c index e4a0ae4df..5d0f52faf 100644 --- a/src/nautilus-main.c +++ b/src/nautilus-main.c @@ -173,7 +173,9 @@ register_icons (void) } gtk_icon_set_add_source (set, source); } - gtk_icon_info_free (info); + if (info != NULL) { + gtk_icon_info_free (info); + } } gtk_icon_source_free (source); |