_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.