* image.c (free_image): Mark frame as garbaged (Bug#6426).

This commit is contained in:
Chong Yidong 2010-06-19 15:43:47 -04:00
parent 5338dc0b10
commit 52ab9bb27b
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2010-06-19 Chong Yidong <cyd@stupidchicken.com>
* image.c (free_image): Mark frame as garbaged (Bug#6426).
* keymap.c (Fdefine_key): Doc fix (Bug#6460).
2010-06-15 Glenn Morris <rgm@gnu.org>

View file

@ -1094,6 +1094,10 @@ free_image (f, img)
/* Free resources, then free IMG. */
img->type->free (f, img);
xfree (img);
/* As display glyphs may still be referring to the image ID, we
must garbage the frame (Bug#6426). */
SET_FRAME_GARBAGED (f);
}
}