diff options
| author | Joakim Verona | 2013-08-18 21:31:48 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-08-18 21:31:48 +0200 |
| commit | fd4e76c279715cbaa57465ea9ffbe68fb84d8299 (patch) | |
| tree | 81e2506023397c778c29cf1139d8f37159a29a17 /src | |
| parent | a8761f8c13d9507250a7d95c687bb3999ca5ac11 (diff) | |
| parent | e2c904739e881006f70c9b491929bd4a3508c85d (diff) | |
| download | emacs-fd4e76c279715cbaa57465ea9ffbe68fb84d8299.tar.gz emacs-fd4e76c279715cbaa57465ea9ffbe68fb84d8299.zip | |
merge from trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/image.c | 3 |
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 @@ | |||
| 1 | 2013-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 | |||
| 1 | 2013-08-18 Ken Brown <kbrown@cornell.edu> | 6 | 2013-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 * | |||
| 7932 | imagemagick_get_animation_cache (MagickWand *wand) | 7932 | imagemagick_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 | { |