genlist: fix memory-leak in filter queue and refactoring queue iteration
authorSangHyeon Lee <sh10233.lee@samsung.com>
Fri, 29 Jul 2016 02:21:27 +0000 (11:21 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 29 Jul 2016 02:29:25 +0000 (11:29 +0900)
commit8d8d08effa3b373a00447a90f0ed301195063159
treef11ce3efad8e525de344dfc66dd45fec9e466827
parentc7c387b33a4f242c981ca41aacbdc6004b7ce344
genlist: fix memory-leak in filter queue and refactoring queue iteration

Summary:
There are critical memory-leak in filter queue process.
         It looks typo so I fix it and refactoring queue iteration logic to spend
 less time in for and while loop.

Test Plan: Tested by filter elementary test

Reviewers: shashank0990

Reviewed By: shashank0990

Subscribers: raster, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4170
src/lib/elementary/elm_genlist.c