Ticket #2058: fixed memory leaks in _vfs_get_cwd() function.
commit2cf080d18f243b61c4a32afc647ecd88025fd993
authorAndrew Borodin <aborodin@vmail.ru>
Wed, 24 Feb 2010 18:44:07 +0000 (24 21:44 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Wed, 24 Feb 2010 18:44:07 +0000 (24 21:44 +0300)
treed236a7e0feb3c69d1a0454903e2b5890b4018169
parentea700be2a1115b22b1f7cfaa70dfc6908f24d56d
Ticket #2058: fixed memory leaks in _vfs_get_cwd() function.

Thanks Vit Rosin to found memory leak in _vfs_memleak() function.
This function was rewritten to fix two memory leaks.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/vfs/mc-vfs/vfs.c