diff options
author | Matthew Jordan <mjordan@digium.com> | 2015-04-07 02:10:31 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2015-04-07 02:10:31 +0000 |
commit | af4d8027730fff35dba65eb2d7ade73ade4a4a8e (patch) | |
tree | b70da14c4d40e287aa9a100ca78d968efafc0946 /res/ari/ari_model_validators.h | |
parent | c1cfe3fae2e2f09f16fee346ed9a440e9d4605c4 (diff) |
clang compiler warnings: Fix sometimes-initialized warning in func_math
This patch fixes a bug in a unit test in func_math where a variable could be
passed to ast_free that wasn't allocated. This patch corrects the issue and
ensures that we only attempt to free a variable if we previously allocated
it.
Review: https://reviewboard.asterisk.org/r/4552
ASTERISK-24917
Reported by: dkdegroot
patches:
rb4552.patch submitted by dkdegroot (License 6600)
........
Merged revisions 434190 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 434191 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/ari/ari_model_validators.h')
0 files changed, 0 insertions, 0 deletions