diff options
| author | Chong Yidong | 2010-06-19 15:43:47 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-06-19 15:43:47 -0400 |
| commit | 52ab9bb27b2d91a4050762bbe34f05db3018f62f (patch) | |
| tree | cb48c1e87f1d7a2dfed16a81fd39427b902b47aa /src/image.c | |
| parent | 5338dc0b10ddf1525d0c758657ed510eef79ac12 (diff) | |
| download | emacs-52ab9bb27b2d91a4050762bbe34f05db3018f62f.tar.gz emacs-52ab9bb27b2d91a4050762bbe34f05db3018f62f.zip | |
* image.c (free_image): Mark frame as garbaged (Bug#6426).
Diffstat (limited to 'src/image.c')
| -rw-r--r-- | src/image.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/image.c b/src/image.c index 1265b900c6c..e7db3a7df1b 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -1094,6 +1094,10 @@ free_image (f, img) | |||
| 1094 | /* Free resources, then free IMG. */ | 1094 | /* Free resources, then free IMG. */ |
| 1095 | img->type->free (f, img); | 1095 | img->type->free (f, img); |
| 1096 | xfree (img); | 1096 | xfree (img); |
| 1097 | |||
| 1098 | /* As display glyphs may still be referring to the image ID, we | ||
| 1099 | must garbage the frame (Bug#6426). */ | ||
| 1100 | SET_FRAME_GARBAGED (f); | ||
| 1097 | } | 1101 | } |
| 1098 | } | 1102 | } |
| 1099 | 1103 | ||