hermet pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=c9edf14ebe422b677667b7dcd28c2831f2f6ae6d
commit c9edf14ebe422b677667b7dcd28c2831f2f6ae6d Author: ChunEon Park <her...@hermet.pe.kr> Date: Sat Mar 8 04:03:19 2014 +0900 search - removed duplicated code --- src/bin/search.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bin/search.c b/src/bin/search.c index c4e9840..8f9edc0 100644 --- a/src/bin/search.c +++ b/src/bin/search.c @@ -108,8 +108,6 @@ find_forward_proc(search_data *sd) { sd->pos = 0; find_forward_proc(sd); - free(utf8); - return; } //There are no searched words in the text else @@ -117,9 +115,9 @@ find_forward_proc(search_data *sd) snprintf(buf, sizeof(buf), "No \"%s\" in the text", find); stats_info_msg_update(buf); sd->pos = -1; - free(utf8); - return; } + free(utf8); + return; } //Got you! --