aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2021-01-20 10:47:14 +0000
committerChris Wilson <[email protected]>2021-01-20 11:11:24 +0000
commit95b98f004f9d9ad240867ddbb7b3eb38a3471828 (patch)
tree113871f50ad13abc68041749b6df4052426ad1e6 /lib/mpi/mpi-sub-ui.c
parent1e58215f06d6dae93e2c312d07ca433b7e5ce80d (diff)
drm/i915/region: don't leak the object on error
Sanity check the object size before allocating a new gem object. Fixes: 97d553963250 ("drm/i915/region: convert object_create into object_init") Testcase: igt/gem_create/create-massive Signed-off-by: Matthew Auld <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions