Fix ssdb-dump memory leak