seoz pushed a commit to branch master.

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

commit 7b8d259577ba168d0e11b1ed72d648c3f5bb5d41
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 115a994..1ee74fa 100644
--- a/src/lib/elm_access.c
+++ b/src/lib/elm_access.c
@@ -253,9 +253,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