[Bug 41373] New: memory leak when drmModeRes is freed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 30 16:05:45 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=41373

           Summary: memory leak when drmModeRes is freed.
           Product: DRI
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: libdrm
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: boram1288.park at samsung.com


Created an attachment (id=51822)
 View: https://bugs.freedesktop.org/attachment.cgi?id=51822
 Review: https://bugs.freedesktop.org/review?bug=41373&attachment=51822

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().

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list