X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_property.c;h=22e43c8b38572badf3968207059570f3aef09f09;hb=9390e8b584f3f717f0a326893c0e37cf187a0a51;hp=021dbc1774b387d66b9b0070284c89fd9f5c555c;hpb=661165812e3410fe2f6f49d7af882b36a0efcf82;p=melted diff --git a/src/framework/mlt_property.c b/src/framework/mlt_property.c index 021dbc1..22e43c8 100644 --- a/src/framework/mlt_property.c +++ b/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;