aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2013-08-19 00:01:37 -0700
committerPaul Eggert2013-08-19 00:01:37 -0700
commitd0139df5b60d235363e78438316e255ac378c884 (patch)
tree1ff811c2211a04fa56ddcccdd8986c2f2bb22756 /src/ChangeLog
parent2249012558e589b9382e068326116dbd909bbb81 (diff)
downloademacs-d0139df5b60d235363e78438316e255ac378c884.tar.gz
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 'src/ChangeLog')
-rw-r--r--src/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0203ce636ef..c5a6f4d19c3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,16 @@
12013-08-19 Paul Eggert <eggert@cs.ucla.edu> 12013-08-19 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * image.c: Fix animation cache signature memory leak.
4 Fix some other minor performance problems while we're at it.
5 (imagemagick_create_cache): Clear just the members that
6 need clearing. Don't set update_time, as caller does that now.
7 (imagemagick_prune_animation_cache, imagemagick_get_animation_cache):
8 Simplify by using pointer-to-pointer instead of a prev pointer.
9 (imagemagick_prune_animation_cache): Use make_emacs_time rather
10 than EMACS_TIME_FROM_DOUBLE, and DestroyString rather than free.
11 (imagemagick_get_animation_cache): Don't xstrdup the image signature;
12 it's already a copy. Free the signature probe unless it's cached.
13
3 * process.c (handle_child_signal): Fix crash; deleted pid (Bug#15106). 14 * process.c (handle_child_signal): Fix crash; deleted pid (Bug#15106).
4 This was introduced by my 2013-08-12 fix for Bug#15035. 15 This was introduced by my 2013-08-12 fix for Bug#15035.
5 16