diff options
-rw-r--r-- | src/mesa/main/extensions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 1903a503c0d..aceddaa3ef2 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -769,7 +769,7 @@ get_extension_override( struct gl_context *ctx ) if (env_const == NULL) { /* Return the empty string rather than NULL. This simplifies the logic * of client functions. */ - return calloc(1, sizeof(char)); + return calloc(4, sizeof(char)); } /* extra_exts: List of unrecognized extensions. */ |