[sr-dev] git:master:40b18ddf: secfilter: convert to memory error logging helper, add missing mem cleanup on errors