Other changes: * fix memory leak in error handling of rdb loading of type OBJ_MODULE (cherry picked from commit 3b6aeea4)