test-fs-util: fix memleak
authorEvgeny Vereshchagin <evvers@ya.ru>
Wed, 14 Dec 2016 00:31:53 +0000 (00:31 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Wed, 14 Dec 2016 00:31:53 +0000 (00:31 +0000)
commitf4b85a0fb68bd5f67498697e35f813aee430cfb2
tree692184008421c27608d1077cca28ab0bbce970ac
parent4014818d530ad3f6f5e4b94b79a9336376feface
test-fs-util: fix memleak

Fixes:
```
$ ./libtool --mode=execute valgrind --leak-check=full ./test-fs-util
...
==22871==
==22871== 27 bytes in 1 blocks are definitely lost in loss record 1 of 1
==22871==    at 0x4C2FC47: realloc (vg_replace_malloc.c:785)
==22871==    by 0x4E86D05: strextend (string-util.c:726)
==22871==    by 0x4E8F347: chase_symlinks (fs-util.c:712)
==22871==    by 0x109EBF: test_chase_symlinks (test-fs-util.c:75)
==22871==    by 0x10C381: main (test-fs-util.c:305)
==22871==
```
Closes #4888
src/test/test-fs-util.c