From 23716d0ed39dd82dc08ed76acec849ef14b5a3b1 Mon Sep 17 00:00:00 2001 From: raster Date: Sun, 22 Aug 2010 22:39:26 +0000 Subject: [PATCH] and cppcheck yes -> init to NULL so check and free works. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51550 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c b/src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c index 89a0835..6d505b4 100644 --- a/src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c +++ b/src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c @@ -86,7 +86,7 @@ eina_ememoa_unknown_size_init(const char *context, struct ememoa_mempool_desc_s *desc = NULL; Eina_Ememoa_Unknown_Size_Mempool *efm = NULL; Eina_Bool thread_protect; - unsigned int *items_map; + unsigned int *items_map = NULL; unsigned int items_count; unsigned int i; int context_length; -- 2.7.4