Files
wxWidgets/tests
Vadim Zeitlin 31632c4fbb Fix memory leaks in BoxSizer::IncompatibleFlags test case
The sizer item allocated by wxSizer::Add() was leaked if an exception
was thrown due to the use of invalid flags, resulting in tons of memory
leak reports from the leak sanitizer.

Fix them by using wxScopedPtr<> for this item and releasing it only if
adding the item to the sizer (unexpectedly) did not throw.

No real changes.
2020-07-04 15:53:36 +02:00
..
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2019-09-19 00:39:59 +02:00
2018-07-29 12:08:53 +02:00
2019-08-25 12:32:51 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2020-05-02 17:02:36 +02:00
2020-05-02 17:02:36 +02:00
2020-05-02 17:02:36 +02:00
2020-05-02 17:02:36 +02:00
2020-03-24 00:01:15 +01:00
2020-05-14 23:50:29 +02:00