summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--progs/tests/manytex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/tests/manytex.c b/progs/tests/manytex.c
index 28f7d3b3f2d..900e5834fe8 100644
--- a/progs/tests/manytex.c
+++ b/progs/tests/manytex.c
@@ -133,6 +133,7 @@ static void DeleteTextures(void)
{
glDeleteTextures(NumTextures, TextureID);
free(TextureID);
+ TextureID = NULL;
}