Address leak found with prev_filename through address sanitizer
Address leak found with prev_filename through address sanitizer

14:27:10 Direct leak of 16 byte(s) in 1 object(s) allocated from:
14:27:10     #0 0x4cde12 in __interceptor_malloc (/home/couchbase/jenkins/workspace/forestdb-addresssanitizer-master/build/forestdb/tests/functional/multi_kv_functional_test+0x4cde12)
14:27:10     #1 0x56cc2c in fdb_fetch_header /home/couchbase/jenkins/workspace/forestdb-addresssanitizer-master/forestdb/src/forestdb.cc:249:34
14:27:10     #2 0x56f38a in _fdb_open /home/couchbase/jenkins/workspace/forestdb-addresssanitizer-master/forestdb/src/forestdb.cc:1737:13
14:27:10     #3 0x57484b in fdb_open_custom_cmp /home/couchbase/jenkins/workspace/forestdb-addresssanitizer-master/forestdb/src/forestdb.cc:898:10
14:27:10     #4 0x4f1ae0 in multi_kv_test(unsigned char, unsigned long) /home/couchbase/jenkins/workspace/forestdb-addresssanitizer-master/forestdb/tests/functional/multi_kv_functional_test.cc:438:13
14:27:10     #5 0x50e2b3 in main /home/couchbase/jenkins/workspace/forestdb-addresssanitizer-master/forestdb/tests/functional/multi_kv_functional_test.cc:2527:13
14:27:10     #6 0x2b8e2aa0e76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226

Change-Id: Ib923774ff6508dd296590bf910375a1090a7dcde
Reviewed-on: http://review.couchbase.org/65698
Reviewed-by: Chiyoung Seo <fcffc23db27b19ee4ebba46695ee6b50e09216a2@couchbase.com>
Tested-by: Chiyoung Seo <fcffc23db27b19ee4ebba46695ee6b50e09216a2@couchbase.com>

hisundar/forestdb,couchbase/forestdb,wurikiji/forestdb,wurikiji/forestdb,couchbase/forestdb,hisundar/forestdb