aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/image.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 671f6afc722..7ee41698bad 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-08-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * image.c (imagemagick_get_animation_cache): Don't segfault when
4 pruning all entries.
5
12013-08-18 Ken Brown <kbrown@cornell.edu> 62013-08-18 Ken Brown <kbrown@cornell.edu>
2 7
3 * sheap.c (STATIC_HEAP_SIZE): Adjust to current needs; use bigger 8 * sheap.c (STATIC_HEAP_SIZE): Adjust to current needs; use bigger
diff --git a/src/image.c b/src/image.c
index 198d5545c96..1452e8659b5 100644
--- a/src/image.c
+++ b/src/image.c
@@ -7932,9 +7932,10 @@ struct animation_cache *
7932imagemagick_get_animation_cache (MagickWand *wand) 7932imagemagick_get_animation_cache (MagickWand *wand)
7933{ 7933{
7934 char *signature = xstrdup (MagickGetImageSignature (wand)); 7934 char *signature = xstrdup (MagickGetImageSignature (wand));
7935 struct animation_cache *cache = animation_cache; 7935 struct animation_cache *cache;
7936 7936
7937 imagemagick_prune_animation_cache (); 7937 imagemagick_prune_animation_cache ();
7938 cache = animation_cache;
7938 7939
7939 if (! cache) 7940 if (! cache)
7940 { 7941 {