Fix memory leaks
commit46c1c9de65b5cb04ff957238763211b4d19bee0b
authorVladimir Golovnev <glassez@yandex.ru>
Wed, 27 Sep 2023 05:00:20 +0000 (27 08:00 +0300)
committerGitHub <noreply@github.com>
Wed, 27 Sep 2023 05:00:20 +0000 (27 08:00 +0300)
tree2750d7ea2f8ebb1a934b853a7ff154832e37f53e
parentcacae42e5ed6d3bb7df5386d243df678c7f9cef0
Fix memory leaks

* Fixes a couple of memory leaks (although not dangerous in practice, since we are talking about objects with a lifetime up to the end of the application)
* Fixes heap use after free

PR #19650.
Closes #19632.
src/base/http/requestparser.cpp
src/base/torrentfileswatcher.cpp
src/gui/lineedit.cpp