fix ssdb-dump memory leak