On Thu, 2011-06-16 at 21:03 +0800, Gwenole Beauchesne wrote: > --- > va/x11/va_x11.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/va/x11/va_x11.c b/va/x11/va_x11.c > index 0d62534..947b5b1 100644 > --- 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);
Oh, my fault. Thanks for your fix. _______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
