app_cdr and res_parking: Fix some resource leaks.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 27 Sep 2013 21:58:05 +0000 (21:58 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 27 Sep 2013 21:58:05 +0000 (21:58 +0000)
commit2b32732aa814647d5a098043225c9a66eefb76d9
tree98510028754a0e96eeca7e9ce5edfb7355eef933
parent9f19d096e329d435d982723295c0c727ab13dfb7
app_cdr and res_parking: Fix some resource leaks.

* app_cdr left the ResetCDR application registered.

* res_parking leaked a ref to config global.

(closes issue ASTERISK-22566)
Reported by: Corey Farrell
Patches:
      ASTERISK-22566-r2.patch (license #5909) patch uploaded by Corey Farrell
........

Merged revisions 400020 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_cdr.c
res/res_parking.c