aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eet
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 12:11:11 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 12:11:11 +0900
commit190b404be24ad35fdaca3298402359745724ab74 (patch)
tree39abcf3af82688a9d2328034fdd2c6314967cec8 /src/lib/eet
parentedje lua - fix useless double check of list return and pointless cast (diff)
downloadefl-190b404be24ad35fdaca3298402359745724ab74.tar.gz
eet - remove useless if at free
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/eet_data.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/eet/eet_data.c b/src/lib/eet/eet_data.c
index d145045401..8f98a58774 100644
--- a/src/lib/eet/eet_data.c
+++ b/src/lib/eet/eet_data.c
@@ -2890,8 +2890,7 @@ _eet_data_dump_token_get(const char *src,
return tok;
}
- if (tok)
- free(tok);
+ free(tok);
return NULL;
}