[sr-dev] git:master: modules/carrierroute Fixed resource leak in case of error