]> git.ipfire.org Git - thirdparty/asterisk.git/commit
frame.c: Fix off-nominal format ref leaks. 94/4794/1
authorRichard Mudgett <rmudgett@digium.com>
Wed, 11 Jan 2017 20:59:24 +0000 (14:59 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 24 Jan 2017 20:02:51 +0000 (14:02 -0600)
commit2039eb8edf337d459061f020cc663adf4cef00dd
tree1e27b976f1bcad3431fded31e83528b6661ac20f
parentf517c015e244f54a94a10b419163425c8131d497
frame.c: Fix off-nominal format ref leaks.

* ast_frisolate() could leak frame format refs on allocation
failures.

* Similified code in ast_frisolate() and code used by
ast_frisolate().

Change-Id: I79566d4d36b3d7801bf0c8294fcd3e9a86a2ed6d
main/frame.c