[sr-dev] git:master:890dc5f0: ims_charging: free local structure in case of errors