seoz pushed a commit to branch elementary-1.9.

http://git.enlightenment.org/core/elementary.git/commit/?id=cac8291c0c3a8094f9ce8df6b85d7b3936b57ef9

commit cac8291c0c3a8094f9ce8df6b85d7b3936b57ef9
Author: Daniel Juyung Seo <seojuyu...@gmail.com>
Date:   Fri Mar 21 02:33:22 2014 +0900

    access: Fixed memory leak.
    
    This fixes coverity CID 1193244:  Resource leak  (RESOURCE_LEAK).
    
    @fix
---
 src/lib/elm_access.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/elm_access.c b/src/lib/elm_access.c
index 4f315d2..a20238a 100644
--- a/src/lib/elm_access.c
+++ b/src/lib/elm_access.c
@@ -259,9 +259,8 @@ _access_highlight_read(Elm_Access_Info *ac, Evas_Object 
*obj)
                     eina_strbuf_append_printf(strbuf, ", %s", txt);
                   else
                     eina_strbuf_append(strbuf, txt);
-
-                  free(txt);
                }
+             free(txt);
           }
      }
 

-- 


Reply via email to