OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cbe819
)
avfilter picture pool: double free hotfix
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 21 Jun 2011 02:24:03 +0000
(
04:24
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 21 Jun 2011 02:24:03 +0000
(
04:24
+0200)
This fix introduces a small memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/avfilter.c
patch
|
blob
|
history
diff --git
a/libavfilter/avfilter.c
b/libavfilter/avfilter.c
index
44dd515
..
a57677c
100644
(file)
--- a/
libavfilter/avfilter.c
+++ b/
libavfilter/avfilter.c
@@
-182,10
+182,11
@@
void avfilter_link_free(AVFilterLink **link)
av_freep(&picref->audio);
av_freep(&picref->video);
- av_freep(&
picref
);
+ av_freep(&
(*link)->pool->pic[i]
);
}
}
- av_freep(&(*link)->pool);
+ (*link)->pool->count = 0;
+// av_freep(&(*link)->pool);
}
av_freep(link);
}