aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVille Syrjälä2012-02-02 13:53:41 -0600
committerJerome Glisse2012-02-02 13:53:41 -0600
commita14c3dd0f9c468d5dba86df5ffa786aea77068a9 (patch)
treed9112d772824e5c94e87025ad19c460e6aff66b4 /xf86drmMode.c
parentdf497e9281036ca9397bc5a08a82fdf44dbc12b2 (diff)
downloadexternal-libdrm-a14c3dd0f9c468d5dba86df5ffa786aea77068a9.tar.gz
external-libdrm-a14c3dd0f9c468d5dba86df5ffa786aea77068a9.tar.xz
external-libdrm-a14c3dd0f9c468d5dba86df5ffa786aea77068a9.zip
This function was missing.
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Diffstat (limited to 'xf86drmMode.c')
-rw-r--r--xf86drmMode.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/xf86drmMode.c b/xf86drmMode.c
index e67ed4a3..473e7341 100644
--- a/xf86drmMode.c
+++ b/xf86drmMode.c
@@ -965,3 +965,12 @@ err_allocs:
965 965
966 return r; 966 return r;
967} 967}
968
969void drmModeFreePlaneResources(drmModePlaneResPtr ptr)
970{
971 if (!ptr)
972 return;
973
974 drmFree(ptr->planes);
975 drmFree(ptr);
976}