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
1 changed files with 3 additions and 0 deletions

View File

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