projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdd325b
)
drmModeFreeConnector: free encoders and properties
author
Keith Packard
<keithp@keithp.com>
Fri, 18 Sep 2009 00:28:08 +0000
(17:28 -0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 18 Sep 2009 00:28:49 +0000
(17:28 -0700)
These were leaking.
Signed-off-by: Keith Packard <keithp@keithp.com>
libdrm/xf86drmMode.c
patch
|
blob
|
history
diff --git
a/libdrm/xf86drmMode.c
b/libdrm/xf86drmMode.c
index
ea11207
..
88b4fe3
100644
(file)
--- a/
libdrm/xf86drmMode.c
+++ b/
libdrm/xf86drmMode.c
@@
-116,6
+116,9
@@
void drmModeFreeConnector(drmModeConnectorPtr ptr)
if (!ptr)
return;
+ drmFree(ptr->encoders);
+ drmFree(ptr->prop_values);
+ drmFree(ptr->props);
drmFree(ptr->modes);
drmFree(ptr);