summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Conchillo Flaqué <aleix@oblong.com>2014-10-29 21:01:39 -0700
committerTim-Philipp Müller <tim@centricular.com>2014-10-30 10:43:39 +0000
commit14132fc88d549d7f87b6c8242bf58f2d01bbbda6 (patch)
tree5e172ae2900279728e8804c5c0cfc6c63d6e9d61
parent54c9b1af1da7b84fabdcaef806754496748a2d5c (diff)
rtsp-client: mikey memory leaks
https://bugzilla.gnome.org/show_bug.cgi?id=739383
-rw-r--r--gst/rtsp-server/rtsp-client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c
index 77dc1d0..1feca3f 100644
--- a/gst/rtsp-server/rtsp-client.c
+++ b/gst/rtsp-server/rtsp-client.c
@@ -1697,6 +1697,7 @@ handle_mikey_data (GstRTSPClient * client, GstRTSPContext * ctx,
gst_caps_unref (caps);
}
gst_mikey_message_unref (msg);
+ gst_buffer_unref (key);
return TRUE;
@@ -1784,7 +1785,9 @@ handle_keymgmt (GstRTSPClient * client, GstRTSPContext * ctx, gchar * keymgmt)
handle_mikey_data (client, ctx, data, size);
}
}
+ g_strfreev (split);
}
+ g_strfreev (specs);
return TRUE;
}