diff options
Diffstat (limited to 'src/mesa/main/extensions.c')
-rw-r--r-- | src/mesa/main/extensions.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 75972c75593..db5c43e42d0 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -22,6 +22,7 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ + #include "glheader.h" #include "imports.h" #include "context.h" @@ -426,3 +427,10 @@ _mesa_make_extension_string( GLcontext *ctx ) return s; } + +void +_mesa_extensions_dtr( GLcontext *ctx ) +{ + if (ctx->Extensions.String) + FREE((void *) ctx->Extensions.String); +} |