mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-25 05:15:41 +02:00
When we detect an error in yml_parser_parse(), we handle that specifically, and then jump to the generic error handler. The generic error handler overwrites the previously formatted error before cleaning up and returning. This meant that a) the actual error message was lost, and replaced with a generic “unknown error”, and b) the dynamically allocated error string buffer was leaked.
839 B
839 B
Changelog
Unreleased
Added
Deprecated
Removed
Fixed
- YAML parsing error messages being replaced with a generic “unknown error”.
- Memory leak when a YAML parsing error was encoutered.
Security
Contributors
1.5.0
Added
- battery: support for drivers that use 'charge_*' (instead of 'energy_*') sys files.
- removables: SD card support.
- removables: new 'ignore' property.
- Wayland: multi-seat support.
- Experimental: 'river': new module for the river Wayland compositor.
Changed
- Requires fcft-2.2.x.
- battery: a poll value of 0 disables polling.
Fixed
- mpd: check of return value from
thrd_create
. - battery: handle 'manufacturer' and 'model_name' not being present.
- Wayland: handle runtime scaling changes.