[sr-dev] git:master:7e617ab8: dmq: add missing memory allocation checks, convert to memory log macros