Make sure to free allocated decode_all structures while getting metadata
Make sure to free metadata_content if we're not saving it in the mmdb struct
Free path string

This makes this test run totally valgrind-clean