_xdg_glob_hash_insert_text is called with a copy of mime_type, but doesn't free it if it's not actually stored in a node.
Created attachment 4711 [details] [review] Proposed patch (Copy mime_type only if needed)
Good catch! Committed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.