mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-07 02:18:15 +00:00
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
This commit is contained in:
@@ -417,6 +417,7 @@ static int ast_filehelper(const char *filename, const void *arg2, const char *fm
|
|||||||
chan->stream = s;
|
chan->stream = s;
|
||||||
else
|
else
|
||||||
chan->vstream = s;
|
chan->vstream = s;
|
||||||
|
free(fn);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
switch (action) {
|
switch (action) {
|
||||||
|
|||||||
Reference in New Issue
Block a user