X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2Fsrc%2Fframework%2Fmlt_property.c;h=22e43c8b38572badf3968207059570f3aef09f09;hb=092636b85449e57fd33ffd4954a2de23c2a5f81c;hp=021dbc1774b387d66b9b0070284c89fd9f5c555c;hpb=661165812e3410fe2f6f49d7af882b36a0efcf82;p=melted diff --git a/mlt/src/framework/mlt_property.c b/mlt/src/framework/mlt_property.c index 021dbc1..22e43c8 100644 --- a/mlt/src/framework/mlt_property.c +++ b/mlt/src/framework/mlt_property.c @@ -101,6 +101,8 @@ int mlt_property_set_string( mlt_property this, char *value ) int mlt_property_set_data( mlt_property this, void *value, int length, mlt_destructor destructor, mlt_serialiser serialiser ) { + if ( this->data == value ) + this->destructor = NULL; mlt_property_clear( this ); this->types = mlt_prop_data; this->data = value;