From: Hyunsoo, Park Date: Thu, 3 Mar 2016 06:10:27 +0000 (+0900) Subject: Fix warning of audio device property in free process X-Git-Tag: accepted/tizen/unified/20220217.153506~2^2~10^2~9^2~4^2~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0919d4bbaefd448c7cd988da6333639725e0763f;p=platform%2Fupstream%2Fgstreamer.git Fix warning of audio device property in free process Change-Id: I41e4e7ab4b6d4d40ef90c65a377342e8efafa2e2 Signed-off-by: Hyunsoo, Park --- diff --git a/gst/rtsp-server/rtsp-media-factory-wfd.c b/gst/rtsp-server/rtsp-media-factory-wfd.c index 8cca5ec..60371b1 100644 --- a/gst/rtsp-server/rtsp-media-factory-wfd.c +++ b/gst/rtsp-server/rtsp-media-factory-wfd.c @@ -502,12 +502,12 @@ _rtsp_media_factory_wfd_create_audio_capture_bin (GstRTSPMediaFactoryWFD * priv->audio_queue = aqueue; if (acodec) g_free (acodec); - if (gst_structure_free) gst_structure_free(audio_properties_name); + if (audio_properties_name) gst_structure_free(audio_properties_name); return TRUE; create_error: if (acodec) g_free (acodec); - if (gst_structure_free) gst_structure_free(audio_properties_name); + if (audio_properties_name) gst_structure_free(audio_properties_name); return FALSE; }