projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c31271
)
fixed leak in image_post_process_color
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Tue, 9 Jun 2009 19:08:52 +0000
(19:08 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Tue, 9 Jun 2009 19:08:52 +0000
(19:08 +0000)
patch by Omari Stephens
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index
4c5edc7
..
9c559fb
100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-351,6
+351,13
@@
static gboolean image_post_process_color(ImageWindow *imd, gint start_row, gbool
}
image_update_util(imd);
+
+ if (screen_profile)
+ {
+ g_free(screen_profile);
+ screen_profile = NULL;
+ }
+
return !!cm;
}