[sr-dev] git:master:4d58141a: rabbitmq: proper check for allocated pointer