[sr-dev] git:master:6aee3bd7: dispatcher: add missing memory allocation checks, convert to memory log macros