[sr-dev] git:master: modules_k/cfgutils: Fixed memory leak and incorrect message in error case on mi commmand