All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 41373] New: memory leak when drmModeRes is freed.
@ 2011-09-30 23:05 bugzilla-daemon
  2011-10-01  0:32 ` [Bug 41373] " bugzilla-daemon
  2019-09-24 17:08 ` [Bug 41373] memory leak when drmModeRes is freed bugzilla-daemon
  0 siblings, 2 replies; 4+ messages in thread
From: bugzilla-daemon @ 2011-09-30 23:05 UTC (permalink / raw)
  To: dri-devel

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 41373] memory leak when drmModeRes is freed.
  2011-09-30 23:05 [Bug 41373] New: memory leak when drmModeRes is freed bugzilla-daemon
@ 2011-10-01  0:32 ` 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
  1 sibling, 1 reply; 4+ messages in thread
From: bugzilla-daemon @ 2011-10-01  0:32 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Boram Park <boram1288.park@samsung.com> 2011-09-30 17:32:09 PDT ---
Created an attachment (id=51824)
 View: https://bugs.freedesktop.org/attachment.cgi?id=51824
 Review: https://bugs.freedesktop.org/review?bug=41373&attachment=51824

another patch for memory leak

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Memory leak of libdrm
  2011-10-01  0:32 ` [Bug 41373] " bugzilla-daemon
@ 2011-10-05  4:00   ` Boram Park
  0 siblings, 0 replies; 4+ messages in thread
From: Boram Park @ 2011-10-05  4:00 UTC (permalink / raw)
  To: chris; +Cc: lsj119, dri-devel

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 41373] memory leak when drmModeRes is freed.
  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
@ 2019-09-24 17:08 ` bugzilla-daemon
  1 sibling, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-09-24 17:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 837 bytes --]

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

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #2 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2396 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-24 17:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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   ` Memory leak of libdrm Boram Park
2019-09-24 17:08 ` [Bug 41373] memory leak when drmModeRes is freed bugzilla-daemon

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.