diff options
author | Keith Packard <keithp@keithp.com> | 2009-09-17 17:28:08 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-09-17 17:28:49 -0700 |
commit | 0a24654129847cf5cd61b5e8fb54c8f9c7441c55 (patch) | |
tree | da4cb9ef31bafb5024c0930a2c8313d3418ee240 | |
parent | cdd325b59a17a614b90fc2f8b388175e6d79e3cf (diff) |
drmModeFreeConnector: free encoders and properties
These were leaking.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | libdrm/xf86drmMode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdrm/xf86drmMode.c b/libdrm/xf86drmMode.c index ea11207e..88b4fe3a 100644 --- 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); |