summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-05 10:16:28 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-11-05 10:16:28 -0700
commit6a95fe87350ed504cdf47dea2331f679db1ba3b4 (patch)
treeb8c05a1f7e19a9ae4de57d585258864745809500 /src/mesa/drivers
parent897428c4265de7212ee1fc345e8689b775b287e8 (diff)
add missing free() in intelDestroyContext
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_context.c3
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 565e377669..9e6f95abb0 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);
}
}