Files
libstrophe-gh/tests
Dmitry Podgorny 2bf1988b3c parser: fix memory leak in error path for depth more than 1
If parser has an unfinished stanza with depth > 1, it can happen that
parser->stanza points to a child. Releasing the child doesn't free the
parent stanza.

Instead of releasing parser->stanza in parser_reset() and parser_free(),
find the top most parent and release the whole tree. Also add a test
case for this memory leak.
2021-06-27 03:44:55 +03:00
..
2021-03-23 02:04:59 +02:00
2020-03-31 17:37:12 +03:00
2021-03-23 02:04:59 +02:00
2020-01-31 01:16:50 +02:00
2020-03-31 17:37:12 +03:00
2020-01-31 01:16:50 +02:00
2020-03-31 17:37:12 +03:00
2020-03-31 17:37:12 +03:00
2020-03-31 17:37:12 +03:00
2020-03-31 17:37:12 +03:00
2020-03-31 17:37:12 +03:00
2020-03-31 17:37:12 +03:00
2020-04-30 12:03:57 +02:00
2020-03-31 17:37:12 +03:00
2020-01-31 01:16:50 +02:00
2020-03-31 17:37:12 +03:00
2020-01-31 01:16:50 +02:00
2021-03-23 02:14:25 +02:00