mirror of
https://github.com/labwc/labwc.git
synced 2026-03-17 05:33:47 -04:00
|
Some checks are pending
labwc.github.io / notify (push) Waiting to run
wlr_scene_*_create() functions all allocate memory via calloc() and return NULL if the allocation fails. Previously, the failures were handled in any of 3 different ways: - sending a wayland protocol error - exiting labwc with an error - segfault (no NULL check at all) Since labwc does not attempt to survive heap exhaustion in other allocation paths (such as `znew`), it seems more consistent to use the same die_if_null() check used in those paths to exit with an error. For the three most common create() functions (tree, rect, buffer), add small lab_wlr_ wrappers to common/scene-helpers. |
||
|---|---|---|
| .. | ||
| cycle.c | ||
| meson.build | ||
| osd-classic.c | ||
| osd-field.c | ||
| osd-scroll.c | ||
| osd-thumbnail.c | ||