Skip to content

Stop leaking XkbAtomGetString allocations

Alan Coopersmith requested to merge alanc/xkbprint:parfait into master

XkbAtomGetString is a wrapper around XGetAtomName, and like XGetAtomName returns a newly allocated string (or NULL) on every call, so we should free those strings when done instead of leaking them.

Merge request reports