+2013-08-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * image.c (imagemagick_get_animation_cache): Don't segfault when
+ pruning all entries.
+
2013-08-18 Ken Brown <kbrown@cornell.edu>
* sheap.c (STATIC_HEAP_SIZE): Adjust to current needs; use bigger
imagemagick_get_animation_cache (MagickWand *wand)
{
char *signature = xstrdup (MagickGetImageSignature (wand));
- struct animation_cache *cache = animation_cache;
+ struct animation_cache *cache;
imagemagick_prune_animation_cache ();
+ cache = animation_cache;
if (! cache)
{