[sr-dev] git:master:4a71d3c9: ctl: free rpc struct in case of error