summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-09-05 16:20:43 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-09-05 16:22:33 +0900
commit373e6a09183b4be984ad9220b75bf97da1df8745 (patch)
tree6c66390318a7d290a79cfc144db0b51a29a0ce73 /src/modules
parentaced128e855a85b6eb7561dae040bb2f6b9c6f3f (diff)
eina: fix compilation after b0rking in c9a0237770a7fb
Ref T5966
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/eina/mp/chained_pool/eina_chained_mempool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
index 5913f87..7ab6954 100644
--- a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
+++ b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
@@ -379,7 +379,7 @@ eina_chained_mempool_from(void *data, void *ptr)
379 Chained_Pool *p; 379 Chained_Pool *p;
380 Eina_Trash *t; 380 Eina_Trash *t;
381#ifndef NVALGRIND 381#ifndef NVALGRIND
382 Eina_Trash *last; 382 Eina_Trash *last = NULL;
383#endif 383#endif
384 void *pmem; 384 void *pmem;
385 Eina_Bool ret = EINA_FALSE; 385 Eina_Bool ret = EINA_FALSE;
@@ -423,7 +423,7 @@ eina_chained_mempool_from(void *data, void *ptr)
423 } 423 }
424 424
425 // Check if the pointer was freed 425 // Check if the pointer was freed
426 for (t = p->base, last = NULL; t != NULL; t = t->next) 426 for (t = p->base; t != NULL; t = t->next)
427 { 427 {
428#ifndef NVALGRIND 428#ifndef NVALGRIND
429 VALGRIND_MAKE_MEM_DEFINED(t, pool->item_alloc); 429 VALGRIND_MAKE_MEM_DEFINED(t, pool->item_alloc);