git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f486d7e
)
lavfi/aecho: fix invalid free
author
Paul B Mahol
<onemda@gmail.com>
Sat, 13 Jul 2013 23:45:05 +0000
(23:45 +0000)
committer
Paul B Mahol
<onemda@gmail.com>
Sat, 13 Jul 2013 23:45:05 +0000
(23:45 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/af_aecho.c
patch
|
blob
|
history
diff --git
a/libavfilter/af_aecho.c
b/libavfilter/af_aecho.c
index
09bb2f6
..
e73252b
100644
(file)
--- a/
libavfilter/af_aecho.c
+++ b/
libavfilter/af_aecho.c
@@
-93,7
+93,7
@@
static av_cold void uninit(AVFilterContext *ctx)
av_freep(&s->samples);
if (s->delayptrs)
- av_freep(s->delayptrs[0]);
+ av_freep(
&
s->delayptrs[0]);
av_freep(&s->delayptrs);
}
@@
-256,7
+256,7
@@
static int config_output(AVFilterLink *outlink)
if (s->delayptrs)
- av_freep(s->delayptrs[0]);
+ av_freep(
&
s->delayptrs[0]);
av_freep(&s->delayptrs);
return av_samples_alloc_array_and_samples(&s->delayptrs, NULL,