[sr-dev] git:master:7378aa0f: cfgutils: convert to memory error logging helper, add missing free in error case