Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
319a4d03
Commit
319a4d03
authored
Aug 18, 2013
by
Lars Magne Ingebrigtsen
Browse files
* image.c (imagemagick_get_animation_cache): Don't segfault when
pruning all entries.
parent
f747d82e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/image.c
src/image.c
+2
-1
No files found.
src/ChangeLog
View file @
319a4d03
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
...
...
src/image.c
View file @
319a4d03
...
...
@@ -7932,9 +7932,10 @@ struct animation_cache *
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)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment