Skip to content

Commit

Permalink
Silence g_object_unref failed assertions.
Browse files Browse the repository at this point in the history
  • Loading branch information
heckendorfc committed Aug 28, 2016
1 parent 5031889 commit 13ba566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layout_image.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ static gboolean layout_image_slideshow_continue_check(LayoutWindow *lw)
static void image_animation_data_free(AnimationData *fd)
{
if(!fd) return;
g_object_unref(fd->iter);
g_object_unref(fd->gpa);
if(fd->iter) g_object_unref(fd->iter);
if(fd->gpa) g_object_unref(fd->gpa);
g_free(fd);
}

Expand Down

0 comments on commit 13ba566

Please sign in to comment.