mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 00:29:21 +00:00
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:
parent
51924834af
commit
15f7708a6f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue