summaryrefslogtreecommitdiff
path: root/main/xml.c
diff options
context:
space:
mode:
authorEliel C. Sardanons <eliels@gmail.com>2009-05-16 18:32:11 +0000
committerEliel C. Sardanons <eliels@gmail.com>2009-05-16 18:32:11 +0000
commit766972a3cd8262fb06438c2363a0068472b9b627 (patch)
treee3ca05a3ad7e53220fc758d0534334daf5cccf76 /main/xml.c
parent2595c54876adefe014b06bdc55b8f91c2bddf94c (diff)
Fix a missing unlock in case of error, and a missing free().
Always free the allocated memory for a string field, because we are always using it (not only when xmldocs are enabled). Also if there is an error allocating memory for the string field remember to unlock the list of registered applications, before returning. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@194945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/xml.c')
0 files changed, 0 insertions, 0 deletions