From 9a975ad512c9f5632738ebc5fec473aff2b08087 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 20 Jan 2007 21:28:02 +0000 Subject: Fix memory leaks in XML parser for SDP --- common/sdp-glib.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/sdp-glib.c') diff --git a/common/sdp-glib.c b/common/sdp-glib.c index 37c8580f..a24464ce 100644 --- a/common/sdp-glib.c +++ b/common/sdp-glib.c @@ -230,6 +230,8 @@ sdp_record_t *sdp_xml_parse_record(const char *data, int size) return NULL; } + g_markup_parse_context_free(ctx); + free(ctx_data); return record; -- cgit