oop, forgot to free the windows

This commit is contained in:
John Cupitt 2017-12-10 17:54:50 +00:00
parent 3c0a2e4837
commit 610a301d4e

View File

@ -237,6 +237,9 @@ vips_window_set( VipsWindow *window, int top, int height )
return( -1 ); return( -1 );
} }
if( vips_window_unmap( window ) )
return( -1 );
if( !(baseaddr = vips__mmap( window->im->fd, if( !(baseaddr = vips__mmap( window->im->fd,
0, pagelength, pagestart )) ) 0, pagelength, pagestart )) )
return( -1 ); return( -1 );