From 6a4c14c39a9f20315d5bf7b6b4ea68e638f7d5ec Mon Sep 17 00:00:00 2001 From: Scott D Phillips Date: Mon, 14 Nov 2016 16:55:36 -0800 Subject: [PATCH] sdp: cast away const in call to g_free MSVC warns about the const here. It's safe to cast away. https://bugzilla.gnome.org/show_bug.cgi?id=774293 --- gst-libs/gst/sdp/gstsdpmessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/sdp/gstsdpmessage.c b/gst-libs/gst/sdp/gstsdpmessage.c index e5341db243..3dc625589c 100644 --- a/gst-libs/gst/sdp/gstsdpmessage.c +++ b/gst-libs/gst/sdp/gstsdpmessage.c @@ -361,7 +361,7 @@ gst_sdp_message_copy (const GstSDPMessage * msg, GstSDPMessage ** copy) gst_sdp_message_add_time (cp, time->start, time->stop, repeat); - g_free (repeat); + g_free ((gchar **) repeat); } len = gst_sdp_message_zones_len (msg);