projects
/
profile
/
ivi
/
libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb326b
)
Fix vaTerminate() with non DRI-based drivers.
12/812/1
author
Gwenole Beauchesne
<gb.devel@gmail.com>
Thu, 16 Jun 2011 13:03:46 +0000
(21:03 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 17 Jun 2011 00:33:51 +0000
(08:33 +0800)
va/x11/va_x11.c
patch
|
blob
|
history
diff --git
a/va/x11/va_x11.c
b/va/x11/va_x11.c
index
0d62534
..
947b5b1
100644
(file)
--- a/
va/x11/va_x11.c
+++ b/
va/x11/va_x11.c
@@
-63,7
+63,7
@@
static void va_DisplayContextDestroy (
ctx = pDisplayContext->pDriverContext;
dri_state = ctx->dri_state;
- if (dri_state)
+ if (dri_state
&& dri_state->close
)
dri_state->close(ctx);
free(pDisplayContext->pDriverContext->dri_state);