From a14c3dd0f9c468d5dba86df5ffa786aea77068a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= Date: Thu, 2 Feb 2012 14:53:41 -0500 Subject: This function was missing. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ville Syrjälä --- xf86drmMode.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'xf86drmMode.c') diff --git a/xf86drmMode.c b/xf86drmMode.c index e67ed4a3..473e7341 100644 --- a/xf86drmMode.c +++ b/xf86drmMode.c @@ -965,3 +965,12 @@ err_allocs: return r; } + +void drmModeFreePlaneResources(drmModePlaneResPtr ptr) +{ + if (!ptr) + return; + + drmFree(ptr->planes); + drmFree(ptr); +} -- cgit v1.2.3