drm: make sure the drawable code doesn't call malloc(0).