fix memleak in type.c

see

https://github.com/jcupitt/libvips/pull/164
This commit is contained in:
John Cupitt 2014-08-27 13:46:51 +01:00
parent 30aae507a3
commit 86b729150c
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
21/8/14 started 7.40.7
- fix matlab load
- fix memleak in tilecache [Lovell]
- fix memleak in VipsArray [Lovell]
12/8/14 started 7.40.6
- more doc fixes

View File

@ -334,6 +334,7 @@ vips_area_free_array_object( GObject **array, VipsArea *area )
for( i = 0; i < area->n; i++ )
VIPS_FREEF( g_object_unref, array[i] );
VIPS_FREE( array );
area->n = 0;
}