Commit d5a19415 authored by Jim Meyering's avatar Jim Meyering

don't leak an XBM-image-sized buffer

* image.c (xbm_load): Free the image buffer after using it.
parent 130e3e11
2011-06-22 Jim Meyering <meyering@redhat.com>
don't leak an XBM-image-sized buffer
* image.c (xbm_load): Free the image buffer after using it.
2011-06-21 Paul Eggert <eggert@cs.ucla.edu>
Port to Sun C.
......
......@@ -2829,6 +2829,7 @@ xbm_load (struct frame *f, struct image *img)
}
success_p = xbm_load_image (f, img, contents, contents + size);
xfree (contents);
}
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment