mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
gdp: don't print already-freed string
CID 1221987
This commit is contained in:
parent
38cb5e00fe
commit
c60f4ecd11
1 changed files with 1 additions and 1 deletions
|
@ -559,8 +559,8 @@ gst_dp_event_from_packet_1_0 (guint header_length, const guint8 * header,
|
|||
g_strndup ((gchar *) payload, GST_DP_HEADER_PAYLOAD_LENGTH (header));
|
||||
s = gst_structure_from_string (string, NULL);
|
||||
if (s == NULL) {
|
||||
g_free (string);
|
||||
GST_WARNING ("Could not parse payload string: %s", string);
|
||||
g_free (string);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue