* image.c (free_image): Mark frame as garbaged (Bug#6426).
This commit is contained in:
parent
5338dc0b10
commit
52ab9bb27b
2 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue