diff options
author | Tobias Predel <tobias.predel@gmail.com> | 2023-05-14 16:29:21 +0200 |
---|---|---|
committer | Tobias Predel <tobias.predel@gmail.com> | 2023-05-14 17:50:08 +0200 |
commit | e449c1dec877d8d33286f497e7f7db07bbbfb87e (patch) | |
tree | 76d1d42a3a4ef12e112b938c21bbc74b48673520 /backend/x11 | |
parent | 10dd41669492f7582c26bd3989536a66278df75d (diff) |
wlr_drm_format_set_copy: Do not allocate heap
Address Sanitizer reported two memory leaks because of
fmt not being freed in wlr_drm_format_set_copy.
This commit fixes the memory leak by removing the
allocation to the heap. The struct is allocated to the
stack anyway.
Diffstat (limited to 'backend/x11')
0 files changed, 0 insertions, 0 deletions