free im_malloc() mem in postclose
This commit is contained in:
parent
a55e8d15bb
commit
c0cbbbf415
2
TODO
2
TODO
@ -1,3 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
- also VipsFormat ... could this replace vips_image_new_from_string()? or
|
- also VipsFormat ... could this replace vips_image_new_from_string()? or
|
||||||
could we call this from vips_image_new_from_string()?
|
could we call this from vips_image_new_from_string()?
|
||||||
|
|
||||||
|
@ -267,7 +267,7 @@ vips_malloc( VipsImage *image, size_t size )
|
|||||||
#endif /*DEBUGM*/
|
#endif /*DEBUGM*/
|
||||||
|
|
||||||
if( image )
|
if( image )
|
||||||
g_signal_connect( image, "close",
|
g_signal_connect( image, "postclose",
|
||||||
G_CALLBACK( vips_malloc_cb ), buf );
|
G_CALLBACK( vips_malloc_cb ), buf );
|
||||||
|
|
||||||
return( buf );
|
return( buf );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user