cedric pushed a commit to branch master.

commit 020f66cea45eede5dfede7a599a0229270d5fccf
Author: Jean GUYOMARC'H <[email protected]>
Date:   Fri Aug 9 10:50:25 2013 +0900

    libeweather: fix memory leak.
---
 src/lib/eweather.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/lib/eweather.c b/src/lib/eweather.c
index e46d399..1dbbb4c 100644
--- a/src/lib/eweather.c
+++ b/src/lib/eweather.c
@@ -16,8 +16,9 @@ void eweather_free(EWeather *eweather)
    EWeather_Data *e_data;
    if (eweather->plugin.array)
      {
-       eina_module_list_unload(eweather->plugin.array);
-       eina_module_list_free(eweather->plugin.array);
+        eina_module_list_unload(eweather->plugin.array);
+        eina_module_list_free(eweather->plugin.array);
+        eina_array_free(eweather->plugin.array);
      }
 
    EINA_LIST_FREE(eweather->data, e_data)

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to