[sr-dev] git:4.1: srdb1: fix memory leak in db-id