diff --git a/Chapter_14/Noise3D/Noise3D.c b/Chapter_14/Noise3D/Noise3D.c index 2a7b34f..c88d14b 100644 --- a/Chapter_14/Noise3D/Noise3D.c +++ b/Chapter_14/Noise3D/Noise3D.c @@ -496,8 +496,7 @@ void Shutdown ( ESContext *esContext ) free ( userData->indices ); } - if ( userData->texCoords != NULL ); - + if ( userData->texCoords != NULL ) { free ( userData->texCoords ); }