From: Boram Park <boram1288.park@samsung.com>
To: chris@chris-wilson.co.uk
Cc: lsj119@samsung.com, dri-devel@lists.freedesktop.org
Subject: Memory leak of libdrm
Date: Wed, 05 Oct 2011 13:00:14 +0900 [thread overview]
Message-ID: <4E8BD64E.3020507@samsung.com> (raw)
In-Reply-To: <20111001003209.754F71300B8@annarchy.freedesktop.org>
Hello Chris Wilson.
git : git://anongit.freedesktop.org/git/mesa/drm
branch : master
I found some memory leaks in xf86drmMode.c.
When we call drmModeGetResources(), fbs, crtcs, connectors and encoders
are newly allocated. But, drmModeFreeResources() doesn't free them.
drmModeFreeProperty() also doesn't free blob_ids.
I reported it to bugzilla and attached two patch files.
- https://bugs.freedesktop.org/show_bug.cgi?id=41373
Could you review if it's a bug or not?
Many thanks
Boram.
next prev parent reply other threads:[~2011-10-05 4:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-30 23:05 [Bug 41373] New: memory leak when drmModeRes is freed bugzilla-daemon
2011-10-01 0:32 ` [Bug 41373] " bugzilla-daemon
2011-10-05 4:00 ` Boram Park [this message]
2019-09-24 17:08 ` 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=4E8BD64E.3020507@samsung.com \
--to=boram1288.park@samsung.com \
--cc=chris@chris-wilson.co.uk \
--cc=dri-devel@lists.freedesktop.org \
--cc=lsj119@samsung.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.