better vips_leak output

This commit is contained in:
John Cupitt 2015-02-03 14:49:04 +00:00
parent 0d509604e5
commit 9d8080c266
2 changed files with 3 additions and 3 deletions

View File

@ -2909,7 +2909,7 @@ vips_object_print_all_cb( VipsObject *object, int *n )
fprintf( stderr, "\n" );
vips_object_summary_class( class, &buf );
vips_buf_appends( &buf, " " );
vips_buf_appends( &buf, ", " );
vips_object_summary( object, &buf );
fprintf( stderr, "%s\n", vips_buf_all( &buf ) );

View File

@ -504,9 +504,9 @@ vips_operation_vips_operation_print_summary_arg( VipsObject *object,
{
VipsBuf *buf = (VipsBuf *) a;
/* Just assigned required input construct args
/* Just assigned input construct args
*/
if( (argument_class->flags & VIPS_ARGUMENT_REQUIRED) &&
if( (argument_class->flags & VIPS_ARGUMENT_INPUT) &&
(argument_class->flags & VIPS_ARGUMENT_CONSTRUCT) &&
argument_instance->assigned ) {
const char *name = g_param_spec_get_name( pspec );