aboutsummaryrefslogtreecommitdiff
path: root/tools/gpu-dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpu-dump.c')
-rw-r--r--tools/gpu-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu-dump.c b/tools/gpu-dump.c
index d7cfa9e..6d17374 100644
--- a/tools/gpu-dump.c
+++ b/tools/gpu-dump.c
@@ -314,7 +314,7 @@ void report_gles_attributes(void) {
fprintf(stderr, "failed to get the number of EGL frame buffer configurations\n");
goto cleanup;
}
-
+
configs = (EGLConfig*) malloc(configs_count * sizeof(EGLConfig));
if (configs == NULL) {
fprintf(stderr, "failed to allocate %zu bytes for %d frame buffer configurations\n",