summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Test-tools Bär <roland@verifysoft.de>2008-06-30 10:32:42 -0700
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-07-21 11:02:49 +0800
commit696f9783cc0e269ac8c5c65d8889f22524b5c5e4 (patch)
tree318740399b0a1b07a55046f84035f9df9283709e
parent8fea51cf37c613881a2655ea7a57a5b500b63770 (diff)
i810: Remove an effectively unused variable (only used in an incorrect free())
Bug #15401. (cherry picked from commit 0597d94001afe0a9a34104285ce4dffc75b68071)
-rw-r--r--src/xvmc/I810XvMC.c2
1 files changed, 0 insertions, 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 */