From 15f7708a6f5248da70967619aabcce63e8e6b67f Mon Sep 17 00:00:00 2001 From: aymeric Date: Fri, 20 Nov 2009 15:08:20 +0000 Subject: [PATCH] fix double free. git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@766 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/mediastreamer2/src/nowebcam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);