test for tracked files goinf <0
This commit is contained in:
parent
7352d51053
commit
cbb902efcb
@ -378,6 +378,8 @@ vips_tracked_close( int fd )
|
|||||||
{
|
{
|
||||||
g_mutex_lock( vips_tracked_mutex );
|
g_mutex_lock( vips_tracked_mutex );
|
||||||
|
|
||||||
|
g_assert( vips_tracked_files > 0 );
|
||||||
|
|
||||||
vips_tracked_files -= 1;
|
vips_tracked_files -= 1;
|
||||||
|
|
||||||
g_mutex_unlock( vips_tracked_mutex );
|
g_mutex_unlock( vips_tracked_mutex );
|
||||||
|
Loading…
Reference in New Issue
Block a user