diff --git a/linphone/mediastreamer2/src/nowebcam.c b/linphone/mediastreamer2/src/nowebcam.c index 2e6da3c3d..4241dc1f9 100644 --- a/linphone/mediastreamer2/src/nowebcam.c +++ b/linphone/mediastreamer2/src/nowebcam.c @@ -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);