rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=4d9c977c1877ad5399baaf3a91aa1d3ef80e6a60

commit 4d9c977c1877ad5399baaf3a91aa1d3ef80e6a60
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Thu Apr 14 08:27:30 2016 +0300

    common: delete a string after search in a gengrid
    
    Change-Id: Ia26e2e26f99c71f43a34ff2ecfaa9685469b45b8
---
 src/bin/common/common_macro.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/common/common_macro.h b/src/bin/common/common_macro.h
index d78141d..8f25dda 100644
--- a/src/bin/common/common_macro.h
+++ b/src/bin/common/common_macro.h
@@ -94,8 +94,8 @@ _##_gen##_item_search(Evas_Object *obj, \
    str = eina_stringshare_printf("*%s*", \
                                  
elm_entry_entry_get(search_data->search_entry)); \
  \
-   last_item_found = elm_##_gen##_search_by_text_item_get(obj, start_from, \
-                                                          PART_NAME, str, 0); \
+   last_item_found = elm_##_gen##_search_by_text_item_get(obj, start_from, 
PART_NAME, str, 0); \
+   eina_stringshare_del(str); \
    if (search_data->last_item_found == last_item_found) return; \
  \
    if (search_data->last_item_found) \

-- 


Reply via email to