summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp-mnt.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-08-19 00:01:37 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2013-08-19 00:01:37 -0700
commitd0139df5b60d235363e78438316e255ac378c884 (patch)
tree1ff811c2211a04fa56ddcccdd8986c2f2bb22756 /lisp/emacs-lisp/lisp-mnt.el
parent2249012558e589b9382e068326116dbd909bbb81 (diff)
downloademacs-d0139df5b60d235363e78438316e255ac378c884.tar.gz
emacs-d0139df5b60d235363e78438316e255ac378c884.tar.bz2
emacs-d0139df5b60d235363e78438316e255ac378c884.zip
* image.c: Fix animation cache signature memory leak.
Fix some other minor performance problems while we're at it. (imagemagick_create_cache): Clear just the members that need clearing. Don't set update_time, as caller does that now. (imagemagick_prune_animation_cache, imagemagick_get_animation_cache): Simplify by using pointer-to-pointer instead of a prev pointer. (imagemagick_prune_animation_cache): Use make_emacs_time rather than EMACS_TIME_FROM_DOUBLE, and DestroyString rather than free. (imagemagick_get_animation_cache): Don't xstrdup the image signature; it's already a copy. Free the signature probe unless it's cached.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions