X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgfileicon.c;h=2eaec7b8f778c8bdcfcac71c2da6a7657641c88d;hb=c3842d1969feace4bfb12919be730e75e53877d9;hp=0778107524b24fa07a7a6a4308ce6a40d9614246;hpb=3382ac99be3141e084fea888c428f5d5bf725ab7;p=platform%2Fupstream%2Fglib.git
diff --git a/gio/gfileicon.c b/gio/gfileicon.c
index 0778107..2eaec7b 100644
--- a/gio/gfileicon.c
+++ b/gio/gfileicon.c
@@ -13,9 +13,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see .
*
* Author: Alexander Larsson
*/
@@ -120,7 +118,8 @@ g_file_icon_finalize (GObject *object)
icon = G_FILE_ICON (object);
- g_object_unref (icon->file);
+ if (icon->file)
+ g_object_unref (icon->file);
G_OBJECT_CLASS (g_file_icon_parent_class)->finalize (object);
}