[sr-dev] git:5.4:dc938876: utils/kamcmd: fix memory leak