summaryrefslogtreecommitdiffstats
path: root/common/sdp-glib.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-20 21:28:02 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-20 21:28:02 +0000
commit9a975ad512c9f5632738ebc5fec473aff2b08087 (patch)
tree14ca1c6f8304fffb9a0f6733bbd9254530e7367b /common/sdp-glib.c
parent73e0b1b5e832010192ec6d57e2afa36de2c96299 (diff)
Fix memory leaks in XML parser for SDP
Diffstat (limited to 'common/sdp-glib.c')
-rw-r--r--common/sdp-glib.c2
1 files changed, 2 insertions, 0 deletions
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;