dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 41373] New: memory leak when drmModeRes is freed.
Date: Fri, 30 Sep 2011 16:05:45 -0700 (PDT)	[thread overview]
Message-ID: <bug-41373-502@http.bugs.freedesktop.org/> (raw)

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@lists.freedesktop.org
        ReportedBy: boram1288.park@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.

             reply	other threads:[~2011-09-30 23:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-30 23:05 bugzilla-daemon [this message]
2011-10-01  0:32 ` [Bug 41373] memory leak when drmModeRes is freed bugzilla-daemon
2011-10-05  4:00   ` Memory leak of libdrm Boram Park
2019-09-24 17:08 ` [Bug 41373] memory leak when drmModeRes is freed bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-41373-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox