Filterchain: check whether we were able to allocate the memory