projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b1f747
)
avdevice/dv1394: Use av_freep() to avoid leaving stale pointers in memory
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 28 Dec 2014 17:16:02 +0000
(18:16 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 28 Dec 2014 17:16:02 +0000
(18:16 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/dv1394.c
patch
|
blob
|
history
diff --git
a/libavdevice/dv1394.c
b/libavdevice/dv1394.c
index
c8241e3
..
833b65d
100644
(file)
--- a/
libavdevice/dv1394.c
+++ b/
libavdevice/dv1394.c
@@
-206,7
+206,7
@@
static int dv1394_close(AVFormatContext * context)
av_log(context, AV_LOG_ERROR, "Failed to munmap DV1394 ring buffer: %s\n", strerror(errno));
close(dv->fd);
- av_free
(
dv->dv_demux);
+ av_free
p(&
dv->dv_demux);
return 0;
}