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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
        ReportedBy: boram1288.park@xxxxxxxxxxx


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.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux