okra pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=3d1feb31cc4f261d26746f0ba35cc73b47df3c30

commit 3d1feb31cc4f261d26746f0ba35cc73b47df3c30
Author: Stephen 'Okra' Houston <[email protected]>
Date:   Sun Jan 8 17:32:07 2017 -0600

    Enlightenment: Sysinfo gadget: Free up the edje message correctly.
---
 src/modules/sysinfo/cpumonitor/cpumonitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/sysinfo/cpumonitor/cpumonitor.c 
b/src/modules/sysinfo/cpumonitor/cpumonitor.c
index b75ccdc..debaa47 100644
--- a/src/modules/sysinfo/cpumonitor/cpumonitor.c
+++ b/src/modules/sysinfo/cpumonitor/cpumonitor.c
@@ -24,7 +24,7 @@ _cpumonitor_face_update(Instance *inst)
         usage_msg->val[0] = core->percent;
         edje_object_message_send(elm_layout_edje_get(core->layout), 
EDJE_MESSAGE_INT_SET, 1,
                             usage_msg);
-        free(msg);
+        free(usage_msg);
      }
 }
 

-- 


Reply via email to