fix leak in recomb.c

This commit is contained in:
John Cupitt 2014-03-19 14:37:23 +00:00
parent 58239a4583
commit 2d9047a3e9
1 changed files with 2 additions and 2 deletions

View File

@ -167,9 +167,9 @@ vips_recomb_build( VipsObject *object )
return( -1 );
}
if( vips_check_matrix( class->nickname, recomb->m, &t[0] ) )
if( vips_check_matrix( class->nickname, recomb->m, &t[1] ) )
return( -1 );
recomb->coeff = t[0];
recomb->coeff = t[1];
if( vips_image_pipelinev( conversion->out,
VIPS_DEMAND_STYLE_THINSTRIP, in, NULL ) )