Kdbg search resource leak fixes

Coverity ID 1237214: Resource leak (RESOURCE_LEAK)10. leaked_storage: Variable f going out of scope leaks the storage it points to.
Coverity ID 1237215: Resource leak (RESOURCE_LEAK)10. leaked_storage: Variable bm64 going out of scope leaks the storage it points to.
Coverity ID 1237218: Resource leak (RESOURCE_LEAK)8. leaked_storage: Variable bm going out of scope leaks the storage it points to.