aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_smart.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-31 11:53:59 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-31 11:53:59 +0900
commit6e82f90807e19993a77a007e4ce0a9dbcd082d9b (patch)
tree15911424931c44444722b0f6730c26de20e17466 /src/lib/evas/canvas/evas_smart.c
parentefreet icon cache creation binary - remove redundent check (diff)
downloadefl-6e82f90807e19993a77a007e4ce0a9dbcd082d9b.tar.gz
evas mem - remove redundenty unused evas mem absraction
was never used as was not practical to do so so it effectively does nothing so remove it to reduce analyser warnings found by PVS studio
Diffstat (limited to 'src/lib/evas/canvas/evas_smart.c')
-rw-r--r--src/lib/evas/canvas/evas_smart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_smart.c b/src/lib/evas/canvas/evas_smart.c
index a070c98a95..e93c3fc0e8 100644
--- a/src/lib/evas/canvas/evas_smart.c
+++ b/src/lib/evas/canvas/evas_smart.c
@@ -32,7 +32,7 @@ evas_smart_class_new(const Evas_Smart_Class *sc)
/* api does not match abi! for now refuse as we only have 1 version */
if (sc->version != EVAS_SMART_CLASS_VERSION) return NULL;
- s = evas_mem_calloc(sizeof(Evas_Smart));
+ s = calloc(1, sizeof(Evas_Smart));
if (!s) return NULL;
s->magic = MAGIC_SMART;