aboutsummaryrefslogtreecommitdiffstats
path: root/src/benchmarks
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-06 17:31:24 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:43:59 +0000
commite8b9492600e33c4a649cb4d1712c2ad0235099af (patch)
treeb2ee09cc9d8f123b421602e71af691dbf26646c7 /src/benchmarks
parenteina bench array - fix warning about if case not guarding (diff)
downloadefl-e8b9492600e33c4a649cb4d1712c2ad0235099af.tar.gz
evas list benchmarks - fix warning about if guarding
Diffstat (limited to 'src/benchmarks')
-rw-r--r--src/benchmarks/eina/evas_list.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/benchmarks/eina/evas_list.c b/src/benchmarks/eina/evas_list.c
index 3df15eda87..480d7fd789 100644
--- a/src/benchmarks/eina/evas_list.c
+++ b/src/benchmarks/eina/evas_list.c
@@ -435,9 +435,10 @@ evas_list_remove_list(Evas_List *list, Evas_List *remove_list)
list->accounting->count--;
if (list->accounting->count == 0)
- evas_mempool_free(&_evas_list_accounting_mempool, list->accounting);
-
- evas_mempool_free(&_evas_list_mempool, remove_list);
+ {
+ evas_mempool_free(&_evas_list_accounting_mempool, list->accounting);
+ }
+ evas_mempool_free(&_evas_list_mempool, remove_list);
return return_l;
}