X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_properties.c;h=be4d66fc811f705bfb6c092ae39cfe2768ef58ec;hb=15a23435c82ba0435061a35611c6afbe24d09e32;hp=a0f39f224ced812e278e6c72cc9cdd5d5abe1d82;hpb=c28f352daacca421f977bca75eefd36a73189dac;p=melted diff --git a/src/framework/mlt_properties.c b/src/framework/mlt_properties.c index a0f39f2..be4d66f 100644 --- a/src/framework/mlt_properties.c +++ b/src/framework/mlt_properties.c @@ -343,7 +343,7 @@ void mlt_properties_close( mlt_properties this ) int index = 0; // Clean up names and values - for ( index = 0; index < list->count; index ++ ) + for ( index = list->count - 1; index >= 0; index -- ) { free( list->name[ index ] ); mlt_property_close( list->value[ index ] );