]> www.infradead.org Git - mtd-utils.git/commit
fs-tests: integck: lessen memory consumption even more
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 20 Apr 2011 08:44:49 +0000 (11:44 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 22 Apr 2011 11:29:53 +0000 (14:29 +0300)
commit1394a46213e8180e1233ca6d4811e7c77d49b1e0
tree3551ffaaf5beb7c71d76b3d89f3111b43ed1e5ae
parente95ab5537d7d0d68e1921ef0f60dab9b7ba3d782
fs-tests: integck: lessen memory consumption even more

This patch kills the "name" field from 'struct file_info' where we stored
the original file name. We do not really need to keep this name around,
becaus it might have long gone and it is not very interesting. Besides,
we have several memory leaks where we leak 'file->name' strings, so this
is the easiest way to fix those leaks as well.

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