Skip to content
Snippets Groups Projects
Commit 3f7b10ea authored by Joshua Colp's avatar Joshua Colp
Browse files

Free the filename so we don't have a memory leak. (reported by PCadach in #asterisk-bugs)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 7eecf0bf
Branches
Tags
No related merge requests found
......@@ -417,6 +417,7 @@ static int ast_filehelper(const char *filename, const void *arg2, const char *fm
chan->stream = s;
else
chan->vstream = s;
free(fn);
break;
}
switch (action) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment