Bug 5171 - Memleak in xf86drmHash.c::HashHash()
Summary: Memleak in xf86drmHash.c::HashHash()
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: libdrm (show other bugs)
Version: DRI git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-27 00:06 UTC by Tilman Sauerbeck
Modified: 2005-11-28 09:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to fix the memleak (920 bytes, patch)
2005-11-27 00:07 UTC, Tilman Sauerbeck
no flags Details | Splinter Review

Description Tilman Sauerbeck 2005-11-27 00:06:34 UTC
HashHash() leaks memory in the init code block.
Memory is allocated by calling drmRandomCreate(), but drmRandomDestroy() isn't
called.
Comment 1 Tilman Sauerbeck 2005-11-27 00:07:45 UTC
Created attachment 3913 [details] [review]
Patch to fix the memleak
Comment 2 Brian Paul 2005-11-29 04:29:33 UTC
I've checked in your fix.  Thanks.


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.