diff --git a/gfx/shader_cg.c b/gfx/shader_cg.c index 87793eadc1..9d991296c9 100644 --- a/gfx/shader_cg.c +++ b/gfx/shader_cg.c @@ -486,9 +486,7 @@ static bool load_imports(config_file_t *conf) info[info_cnt].ram_type = ram_type; info_cnt++; - - if (semantic) - free(semantic); + free(semantic); id = strtok(NULL, ";"); }