[Bug 37646] valgrind shows an invalid free in advpack/tests/install.c