Urm. oops. hehe :)

Reversed that change, as it caused segfaults in free().

I can't grok this code, so I'll leave it to raster.

Basically, if my code calls imlib_free_image_and_decache(), it doesn't free
the image, and it leaks.

The fix I applied made sure _Imlib_ConsumeImage was called, but this caused
a segfault.

*baffle


SVN revision: 3239
This commit is contained in:
Tom Gilbert 2000-08-23 00:20:24 +00:00
parent 5303cd3cf1
commit 37e6364bd0
1 changed files with 0 additions and 1 deletions

View File

@ -492,7 +492,6 @@ imlib_free_image_and_decache(void)
CHECK_PARAM_POINTER("imlib_free_image_and_decache", "image", ctxt_image);
CAST_IMAGE(im, ctxt_image);
SET_FLAG(im->flags, F_INVALID);
SET_FLAG(im->flags, F_UNCACHEABLE);
__imlib_FreeImage(im);
ctxt_image = NULL;
}