sdp: use g_strdup instead of strdup

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3475>
This commit is contained in:
Ignacio Casal Quinteiro 2022-11-28 10:19:20 +01:00 committed by GStreamer Marge Bot
parent b985c8eadd
commit 2aa34164f6

View file

@ -3439,7 +3439,7 @@ gst_sdp_parse_rtpmap (const gchar * rtpmap, gint * payload, gchar ** name,
*params = NULL; *params = NULL;
goto out; goto out;
} else { } else {
*name = strdup (*name); *name = g_strdup (*name);
} }
t = p; t = p;