[sr-dev] git:master:4753296c: topoh: improve mem error handling