[sr-dev] git:master: * Database query result was not freed when there was error in getting