Fix wild free of result_fs and leak of fs in test.
Reported by AddressSanitizer when running test-conf. The result_fs was not initialized to NULL so could result in a wild free. The fs was not always destroyed.
Reported by AddressSanitizer when running test-conf. The result_fs was not initialized to NULL so could result in a wild free. The fs was not always destroyed.