summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2015-04-07 02:09:59 +0000
committerMatthew Jordan <mjordan@digium.com>2015-04-07 02:09:59 +0000
commit488f093e97b52a1337c7f480aac16f27bf3908b1 (patch)
tree57153bb1153168084b5438bb6e4461980175e186 /rest-api
parentc027133f6d564027ccbbfbbd21eddb9d17368439 (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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@434191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
0 files changed, 0 insertions, 0 deletions