]> www.infradead.org Git - mtd-utils.git/commit
fs-tests: integck: teach dir_remove return error and fix a memory leak
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 18 Apr 2011 11:28:44 +0000 (14:28 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 22 Apr 2011 11:29:52 +0000 (14:29 +0300)
commit9e5bacbebba2683a3e8566f0985a7ba4401e2bc8
tree605f08b516d674be8a8d27080529372352ecdf66
parent02fba0803844e2205397e6eab8983eae6581574f
fs-tests: integck: teach dir_remove return error and fix a memory leak

Teach 'dir_remove()' to return an error to the caller if it fails to
remove the directory. Also, there was a memory leak - the 'path'
string was not freed - fix it as well.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
tests/fs-tests/integrity/integck.c