Check for memory allocation failure is added to avoid null pointer dereference. Fixes: c378f084d6e3 ("compress/octeontx: add device setup ops") Cc: stable@dpdk.org Signed-off-by: Weiguo Li <liwg06@foxmail.com> Acked-by: Akhil Goyal <gakhil@marvell.com>