X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_properties.c;h=be4d66fc811f705bfb6c092ae39cfe2768ef58ec;hb=7fc1fe0a1e996da9ec4b7ff410a16c3560d60982;hp=d047da0c2ae503d23fd2c32d64695ca5e3e6717b;hpb=7c518e80321a87a22d2e48835442c9f5b70dcd17;p=melted diff --git a/src/framework/mlt_properties.c b/src/framework/mlt_properties.c index d047da0..be4d66f 100644 --- a/src/framework/mlt_properties.c +++ b/src/framework/mlt_properties.c @@ -342,13 +342,9 @@ void mlt_properties_close( mlt_properties this ) property_list *list = this->private; int index = 0; - int debug = mlt_properties_get_int( this, "debug" ); - // Clean up names and values - for ( index = 0; index < list->count; index ++ ) + for ( index = list->count - 1; index >= 0; index -- ) { - if ( debug ) - fprintf( stderr, "closing %s\n", list->name[ index ] ); free( list->name[ index ] ); mlt_property_close( list->value[ index ] ); }