summaryrefslogtreecommitdiff
path: root/gst/gdp/dataprotocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gdp/dataprotocol.c')
-rw-r--r--gst/gdp/dataprotocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gdp/dataprotocol.c b/gst/gdp/dataprotocol.c
index 420cdffd7..721cc60c6 100644
--- a/gst/gdp/dataprotocol.c
+++ b/gst/gdp/dataprotocol.c
@@ -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;
}