diff options
author | Brian <[email protected]> | 2007-11-05 10:16:28 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-11-05 10:16:28 -0700 |
commit | 6a95fe87350ed504cdf47dea2331f679db1ba3b4 (patch) | |
tree | b8c05a1f7e19a9ae4de57d585258864745809500 /src | |
parent | 897428c4265de7212ee1fc345e8689b775b287e8 (diff) |
add missing free() in intelDestroyContext
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/intel_winsys/intel_context.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_context.c b/src/mesa/drivers/dri/intel_winsys/intel_context.c index 565e377669f..9e6f95abb0e 100644 --- a/src/mesa/drivers/dri/intel_winsys/intel_context.c +++ b/src/mesa/drivers/dri/intel_winsys/intel_context.c @@ -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); } } |