hyprwm / aquamarine

Aquamarine is a very light linux rendering backend library
BSD 3-Clause "New" or "Revised" License
219 stars 16 forks source link

formatutils: ensure we dont leak name ptr #2

Closed gulafaran closed 2 months ago

gulafaran commented 2 months ago

store format name in a std::string and free the char ptr to ensure we dont leak on each call to drmGetFormatName.