sway-patched-tray-menu/swaynag
Brian Ashworth eb527ac01a swaynag: remove double free of details button
If there are no arguments or invalid arguments given, swaynag will free
`swaynag.details.button_details` under the `cleanup` label in main. It
then called `swaynag_destroy`, which would attempt to free it again.

Since `swaynag.details.button_details` is either freed on line 106 of
main (when there is no detailed message) or added to `swaynag.buttons`
on line 103 of main, there is no reason to manually free it in
`swaynag_destroy`.

Although I cannot reproduce a double free on my system, for some reason,
it should have actually resulted in a double free in all code paths.
2018-12-17 09:21:14 +01:00
..
config.c Implement swaynag -B/--button-no-terminal 2018-11-27 23:34:51 -05:00
main.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
meson.build Add support for installing binaries with DT_RPATH 2018-09-30 15:37:01 +03:00
render.c Align titles to baseline 2018-09-08 16:25:07 +10:00
swaynag.1.scd Implement swaynag -B/--button-no-terminal 2018-11-27 23:34:51 -05:00
swaynag.5.scd swaynag: add blank lines after headings in scdocs 2018-08-01 22:47:54 -04:00
swaynag.c swaynag: remove double free of details button 2018-12-17 09:21:14 +01:00
types.c Cleanup list code 2018-12-09 01:15:38 +00:00