projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336bb3f
)
avutil/audio_fifo: use av_freep() to avoid leaving stale pointers in memory
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 27 Dec 2014 14:49:13 +0000
(15:49 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 27 Dec 2014 14:49:13 +0000
(15:49 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/audio_fifo.c
patch
|
blob
|
history
diff --git
a/libavutil/audio_fifo.c
b/libavutil/audio_fifo.c
index
c3aadfd
..
574907a
100644
(file)
--- a/
libavutil/audio_fifo.c
+++ b/
libavutil/audio_fifo.c
@@
-51,7
+51,7
@@
void av_audio_fifo_free(AVAudioFifo *af)
if (af->buf[i])
av_fifo_free(af->buf[i]);
}
- av_free
(
af->buf);
+ av_free
p(&
af->buf);
}
av_free(af);
}