aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2013-08-18 21:31:48 +0200
committerJoakim Verona2013-08-18 21:31:48 +0200
commitfd4e76c279715cbaa57465ea9ffbe68fb84d8299 (patch)
tree81e2506023397c778c29cf1139d8f37159a29a17 /src
parenta8761f8c13d9507250a7d95c687bb3999ca5ac11 (diff)
parente2c904739e881006f70c9b491929bd4a3508c85d (diff)
downloademacs-fd4e76c279715cbaa57465ea9ffbe68fb84d8299.tar.gz
emacs-fd4e76c279715cbaa57465ea9ffbe68fb84d8299.zip
merge from trunk
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 {