mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 19:00:13 +01:00
add missing free() in intelDestroyContext
This commit is contained in:
parent
897428c426
commit
6a95fe8735
1 changed files with 2 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ intelCreateContext(const __GLcontextModes * mesaVis,
|
|||
}
|
||||
}
|
||||
|
||||
intel->st = st_create_context2(pipe, mesaVis, NULL);
|
||||
intel->st = st_create_context2(pipe, mesaVis, NULL);
|
||||
intel->st->ctx->DriverCtx = intel; /* hope to get rid of this... */
|
||||
|
||||
return GL_TRUE;
|
||||
|
|
@ -183,6 +183,7 @@ intelDestroyContext(__DRIcontextPrivate * driContextPriv)
|
|||
}
|
||||
|
||||
st_destroy_context2(intel->st);
|
||||
free(intel);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue