[PATCH 5.2 078/144] allocate_flower_entry: should check for null deref