]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix memory leak and parse handling error introduced by r15024.
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Tue, 14 Feb 2017 02:03:27 +0000 (15:03 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 14 Feb 2017 02:03:27 +0000 (15:03 +1300)
commitb5db97e7aa415bd1630a7d47d59d7ea88aa0d17b
tree6c28029fce912ff40618ef5624b781fbd70d7ccc
parente339f8a07c9fad05c483a49b9d2e695a763de48e
Fix memory leak and parse handling error introduced by r15024.

* Do not leak Note::Value::Value::valueFormat.
* Throw if annotation value parsing failures.

Detected by Coverity Scan:
 * CID 1399758:  Error handling issues (CHECKED_RETURN)
 * CID 1399759:  Resource leaks (CTOR_DTOR_LEAK)
src/Notes.cc