[sr-dev] git:master:5f872526: smsops: free allocated structure in case of error handling