From 9fb827d238d3eebae989fcf746b29b8d923cded1 Mon Sep 17 00:00:00 2001 From: Themaister Date: Fri, 27 May 2011 03:48:59 +0200 Subject: [PATCH] Stuff seems to work. --- gfx/shader_cg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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, ";"); }