From d4fec072e753ca188e8dc579034fd40651850679 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Mon, 17 Jan 2005 12:53:37 +0000 Subject: [PATCH] gst/registries/gstxmlregistry.c: Fix memleak (#163801). Original commit message from CVS: Reviewed by: Ronald S. Bultje * gst/registries/gstxmlregistry.c: (gst_xml_registry_load): Fix memleak (#163801). --- ChangeLog | 7 +++++++ gst/registries/gstxmlregistry.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7025b91e72..e136f54fc3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-01-17 Luca Ognibene + + Reviewed by: Ronald S. Bultje + + * gst/registries/gstxmlregistry.c: (gst_xml_registry_load): + Fix memleak (#163801). + 2005-01-17 Ronald S. Bultje * gst/elements/gsttee.c: (gst_tee_getcaps), (gst_tee_link): diff --git a/gst/registries/gstxmlregistry.c b/gst/registries/gstxmlregistry.c index 365bceb412..d5092b34c0 100644 --- a/gst/registries/gstxmlregistry.c +++ b/gst/registries/gstxmlregistry.c @@ -698,6 +698,7 @@ gst_xml_registry_load (GstRegistry * registry) CLASS (xmlregistry)->close_func (xmlregistry); + g_markup_parse_context_free (xmlregistry->context); return TRUE; }