diff --git a/source/blender/editors/interface/interface_eyedropper.c b/source/blender/editors/interface/interface_eyedropper.c index 01e53d5e721..a01c7eecda1 100644 --- a/source/blender/editors/interface/interface_eyedropper.c +++ b/source/blender/editors/interface/interface_eyedropper.c @@ -439,7 +439,9 @@ static void datadropper_exit(bContext *C, wmOperator *op) if (op->customdata) { DataDropper *ddr = (DataDropper *)op->customdata; - ED_region_draw_cb_exit(ddr->art, ddr->draw_handle_pixel); + if (ddr->art) { + ED_region_draw_cb_exit(ddr->art, ddr->draw_handle_pixel); + } MEM_freeN(op->customdata);