Bug 5993 - Leak in xdgmimeglob.c
Summary: Leak in xdgmimeglob.c
Status: RESOLVED FIXED
Alias: None
Product: xdgmime
Classification: Unclassified
Component: xdgmime (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 07:12 UTC by Martin Wehner
Modified: 2006-03-02 12:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Proposed patch (Copy mime_type only if needed) (1.37 KB, patch)
2006-02-22 07:15 UTC, Martin Wehner
Details | Splinter Review

Description Martin Wehner 2006-02-22 07:12:51 UTC
_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.
Comment 1 Martin Wehner 2006-02-22 07:15:32 UTC
Created attachment 4711 [details] [review]
Proposed patch (Copy mime_type only if needed)
Comment 2 Christian - Manny Calavera - Neumair 2006-03-03 07:40:16 UTC
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.