1 diff --git a/va/va.c b/va/va.c
2 index 6cb17ef..0ba595b 100644
5 @@ -515,15 +515,15 @@ VAStatus vaTerminate (
6 free(old_ctx->vtable_vpp);
7 old_ctx->vtable_vpp = NULL;
9 - if (VA_STATUS_SUCCESS == vaStatus)
10 - pDisplayContext->vaDestroy(pDisplayContext);
12 VA_TRACE_LOG(va_TraceTerminate, dpy);
18 + if (VA_STATUS_SUCCESS == vaStatus)
19 + pDisplayContext->vaDestroy(pDisplayContext);