GNOME Bugzilla – Bug 163801
[PATCH] mem leak in xml registry loading
Last modified: 2005-01-17 12:53:16 UTC
in gst_xml_registry_load a new reference to a markup_parse_context is craeted and it's never freed. This patch frees it in _close_func
Created attachment 35892 [details] [review] mem leak patch
don't commit it. it creates a warning in gst-register.
Created attachment 35945 [details] [review] second try
btw, why gst_xml_registry_load use a xmlregitry->context and the other functions use a local context ? The global context is never used outside gst_xml_registry_load ... This patch frees the context in the load function
Applied, thanks. I don't know why the variable is stored in a structure, but I assume it's useful somehow.