drmModeFreeConnector: free encoders and properties

These were leaking.

Signed-off-by: Keith Packard <keithp@keithp.com>
main
Keith Packard 2009-09-17 17:28:08 -07:00
parent cdd325b59a
commit 0a24654129
1 changed files with 3 additions and 0 deletions

View File

@ -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);