fix double free.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@766 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
aymeric 2009-11-20 15:08:20 +00:00
parent 51924834af
commit 15f7708a6f

View file

@ -1757,7 +1757,7 @@ static int static_image_set_image(MSFilter *f, void *arg){
if (image!=NULL && image[0]!='\0')
d->nowebcamimage=ms_strdup(image);
else
d->nowebcamimage = def_image;
d->nowebcamimage = ms_strdup(def_image);
if (d->pic!=NULL){
freemsg(d->pic);