projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aaad7b
)
don't dereference memory that has been freed (issue #6405)
author
Kevin P. Fleming
<kpfleming@digium.com>
Wed, 15 Feb 2006 01:31:21 +0000
(
01:31
+0000)
committer
Kevin P. Fleming
<kpfleming@digium.com>
Wed, 15 Feb 2006 01:31:21 +0000
(
01:31
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10139
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index
766c32a
..
d150c90
100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-720,11
+720,11
@@
int ast_closestream(struct ast_filestream *f)
free(f->realfilename);
f->realfilename = NULL;
}
- f->fmt->close(f);
if (f->vfs) {
ast_closestream(f->vfs);
f->vfs = NULL;
}
+ f->fmt->close(f);
return 0;
}