summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cdd325b)
raw | patch | inline | side by side (parent: cdd325b)
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>
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 ea11207ec001b928122f6fd9f8f8ad23d773900e..88b4fe3af54f99de3ddb55c18af992f5f08f3f52 100644 (file)
--- a/libdrm/xf86drmMode.c
+++ b/libdrm/xf86drmMode.c
if (!ptr)
return;
+ drmFree(ptr->encoders);
+ drmFree(ptr->prop_values);
+ drmFree(ptr->props);
drmFree(ptr->modes);
drmFree(ptr);