From: Keith Packard Date: Fri, 18 Sep 2009 00:28:08 +0000 (-0700) Subject: drmModeFreeConnector: free encoders and properties X-Git-Tag: submit/1.0/20121108.012404~421 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a24654129847cf5cd61b5e8fb54c8f9c7441c55;p=profile%2Fivi%2Flibdrm.git drmModeFreeConnector: free encoders and properties These were leaking. Signed-off-by: Keith Packard --- diff --git a/libdrm/xf86drmMode.c b/libdrm/xf86drmMode.c index ea11207..88b4fe3 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);