Bug 41373 - memory leak when drmModeRes is freed.
Summary: memory leak when drmModeRes is freed.
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: libdrm (show other bugs)
Version: unspecified
Hardware: All All
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-30 16:05 UTC by Boram Park
Modified: 2019-09-24 17:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch for fixing this bug. (639 bytes, patch)
2011-09-30 16:05 UTC, Boram Park
no flags Details | Splinter Review
another patch for memory leak (601 bytes, patch)
2011-09-30 17:32 UTC, Boram Park
no flags Details | Splinter Review

Description Boram Park 2011-09-30 16:05:45 UTC
Created attachment 51822 [details] [review]
Patch for fixing this bug.

The fsb, crtcs, connectors and encoders of drmModeRes are allocated by drmMalloc().
Before freeing drmModeRes, obviously these should be freed in drmModeFreeResources().
Comment 1 Boram Park 2011-09-30 17:32:09 UTC
Created attachment 51824 [details] [review]
another patch for memory leak
Comment 2 GitLab Migration User 2019-09-24 17:08:25 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/drm/issues/5.


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.