elementary/fileselector
authorChunEon Park <hermet@hermet.pe.kr>
Tue, 6 Dec 2011 08:18:14 +0000 (08:18 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Tue, 6 Dec 2011 08:18:14 +0000 (08:18 +0000)
commit0ac085744422370609fd1e9215d6c4be7a7c1120
tree49bcb5bf3c28e824f57e9da3f4217e4f18079d3e
parent7cea6331b6e1242056c5331c9515e2cb71513c00
elementary/fileselector

Hi,

On behalf of Rajeev Ranjan, I am submitting the elc_fileselector patch.

Change Log:
Fix for the memory leak in function elm_fileselector_selected_get. Memory allocated by ecore_file_dir_get() internally using strdup was not freed.
Introduced a char *dir variable to store the memory returned by ecore_file_dir_get() function and releasing the memory before returning to caller.

Please review it.
I'd appreciate any comments on this.

Thank you,
Prince

Signed-Off-By: Rajeev Ranjan (rajeev.r@samsung.com)
Signed-Off-By: Prince Kumar Dubey (prince.dubey@samsung.com)
Signed-Off-By: ChunEon Park (hermet@hermetpe.kr)
SVN revision: 65950
src/lib/elc_fileselector.c