diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2014-06-09 10:10:01 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2014-06-09 10:10:01 +0100 |
commit | c60f4ecd117202f22719ede718d379f08fde7ef1 (patch) | |
tree | 9d9d04410e2ff24498a54d549813ea136370fb12 /gst/gdp | |
parent | 38cb5e00fe014eabb20a7ef8da050084aab0a649 (diff) | |
download | gstreamer-plugins-bad-c60f4ecd117202f22719ede718d379f08fde7ef1.tar.gz |
gdp: don't print already-freed string
CID 1221987
Diffstat (limited to 'gst/gdp')
-rw-r--r-- | gst/gdp/dataprotocol.c | 2 |
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; } |