diff options
| author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2024-09-12 23:07:45 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2025-06-08 16:16:09 +0000 |
| commit | 0de833da296e59e2495738afc450d1d3cb0314b3 (patch) | |
| tree | 997214f642a8a53dd3ccca0ad003c94498560c3b /tests/cpp-compile-test.cpp | |
| parent | cursor: Ignore invalid cursor files (diff) | |
| download | wayland-0de833da296e59e2495738afc450d1d3cb0314b3.tar wayland-0de833da296e59e2495738afc450d1d3cb0314b3.tar.gz wayland-0de833da296e59e2495738afc450d1d3cb0314b3.tar.bz2 wayland-0de833da296e59e2495738afc450d1d3cb0314b3.tar.lz wayland-0de833da296e59e2495738afc450d1d3cb0314b3.tar.xz wayland-0de833da296e59e2495738afc450d1d3cb0314b3.tar.zst wayland-0de833da296e59e2495738afc450d1d3cb0314b3.zip | |
cursor: Properly check realloc for errors
Do not override realloc's input pointer before checking for errors,
otherwise it's not possible to keep old value, as intended.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
