]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Plug a memory leak when reading configs with their comments.
authorSean Bright <sean@malleable.com>
Mon, 18 Jan 2010 19:54:19 +0000 (19:54 +0000)
committerSean Bright <sean@malleable.com>
Mon, 18 Jan 2010 19:54:19 +0000 (19:54 +0000)
commit1926da52e78c574cf3ccde392491a671945ac167
treecb17d5150483f9d16ef4ef96c1f6e01a5c58876d
parent7e7e6da09e2d4d8602884c2254b5376656f612f2
Plug a memory leak when reading configs with their comments.

While reading through configuration files with the intent of returning their
full contents (comments specifically) we allocated some memory and then forgot
to free it.  This doesn't fix 16554 but clears up a leak I had in the lab.

(issue #16554)
Reported by: mav3rick
Patches:
      issue16554_20100118.patch uploaded by seanbright (license 71)
Tested by: seanbright

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@241015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/config.c