[cairo] How to free the memory allocated by
charles.wang at akomedia.com
Sun Apr 3 23:12:29 PDT 2005
I'm interesting at cairo greatly and have compose a test program to try
it. When I try to use memory leak tools (valgrind) to test it, I noticed
that the memory allocated at
data = malloc (png_width * png_height * pixel_size);
is not freed.
So I check the API of cairo, cairo-png not free it and there is no way
to let me know this pointer and free it.
Is there any method to avoid this memory leak?
Charles April 4th, 2005
More information about the cairo