wayland: {xdg_,}output_*(): free old strings before assigning new ones
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Defensive programming; output_geometry() etc are typically only called once for an output instance. But let’s ensure we’re not leaking memory if it’s called more than once.
authored by Daniel Eklöf · committed by Daniel Eklöf · parent f4da1eb · Browse files · 1 file+7 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+7 added−0 removed
- other:+7 added−0 removed