From 696f9783cc0e269ac8c5c65d8889f22524b5c5e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20Test-tools=20B=C3=A4r?= Date: Mon, 30 Jun 2008 10:32:42 -0700 Subject: i810: Remove an effectively unused variable (only used in an incorrect free()) Bug #15401. (cherry picked from commit 0597d94001afe0a9a34104285ce4dffc75b68071) --- src/xvmc/I810XvMC.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/xvmc/I810XvMC.c b/src/xvmc/I810XvMC.c index 03be2514..ce5395ac 100644 --- a/src/xvmc/I810XvMC.c +++ b/src/xvmc/I810XvMC.c @@ -130,7 +130,6 @@ Status XvMCCreateContext(Display *display, XvPortID port, int surface_type_id, int width, int height, int flags, XvMCContext *context) { i810XvMCContext *pI810XvMC; - char busIdString[10]; int priv_count; uint *priv_data; uint magic; @@ -217,7 +216,6 @@ Status XvMCCreateContext(Display *display, XvPortID port, /* Open DRI Device */ if((pI810XvMC->fd = drmOpen("i810",NULL)) < 0) { printf("DRM Device for i810 could not be opened.\n"); - free(busIdString); free(pI810XvMC); return BadAccess; } /* !pI810XvMC->fd */ -- cgit v1.2.3