projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5031889
)
Silence g_object_unref failed assertions.
author
Christian Heckendorf
<heckendorfc@gmail.com>
Sun, 28 Aug 2016 00:34:00 +0000
(20:34 -0400)
committer
Christian Heckendorf
<heckendorfc@gmail.com>
Sun, 28 Aug 2016 00:34:00 +0000
(20:34 -0400)
src/layout_image.c
patch
|
blob
|
history
diff --git
a/src/layout_image.c
b/src/layout_image.c
index
83d659b
..
c72d98c
100644
(file)
--- a/
src/layout_image.c
+++ b/
src/layout_image.c
@@
-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);
}