Commit e3262d08756ed22341f9c5eadc2b2fc258ceeb9e

Unref the info only if it was valid
champlain/champlain-file-cache.c
(2 / 1)
  
573573 {
574574 g_file_info_get_modification_time (info, &modified_time);
575575 champlain_tile_set_modified_time (tile, &modified_time);
576
577 g_object_unref (info);
576578 }
577579 g_object_unref (file);
578 g_object_unref (info);
579580
580581 /* Notify other caches that the tile has been filled */
581582 if (CHAMPLAIN_IS_TILE_CACHE(next_source))

Comments

Add a new comment:

Login or create an account to post a comment

Add your comment