Files
bitchx/source
Kevin Easton debfebf3a7 Fix a double-free bug when a window on an alternate screen queries an exec process
The 'free_it' variable was only initialised to zero at the start of the function, so when non-main screens
were processed in the later iterations of the loop, it could keep a value of 1 from the previous iteration.

We don't actually need a free_it variable at all - just use a NULL value of ptr_free to indicate that there
is nothing to free (and passing a NULL to new_free() is a no-op).

This also simplifies a test because ptr is always non-NULL (strip_ansi() never returns NULL).
2017-02-16 23:12:38 +11:00
..
2016-10-18 23:54:46 +11:00
2016-09-29 01:11:29 +10:00
2017-02-08 23:56:36 +11:00
2016-10-13 01:44:29 +11:00
2017-01-18 00:11:49 +11:00
2016-03-16 23:50:38 +11:00