aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-01 17:52:34 +0200
committerAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-10-01 19:45:29 +0000
commitc659792d7bc359ff19706624e26e9aab160a4b56 (patch)
tree1f2ddf1425a7011e3b4021e36d84da0b3d64fe80 /examples
parent3e7ea8715bf6817bee847e3bc5816abf69242fc5 (diff)
render/allocator/drm_dumb: fix error handling
In the CREATE_DUMB error code-path, we'd only free() the buffer, however it's already inserted in the alloc->buffers list at this point. Instead, make sure finish_buffer() is safe to call (by populating drm_fd) and call that function.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions