This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/ffwavesynth: Use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer
11 years ago
parent
ac08c5c0ad
commit
748ad112e2
1 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-4
libavcodec/ffwavesynth.c
+ 4
- 4
libavcodec/ffwavesynth.c
View File
@@ -345,8 +345,8 @@ static av_cold int wavesynth_init(AVCodecContext *avc)
return 0;
fail:
av_free(ws->inter);
av_free(ws->sin);
av_free
p
(
&
ws->inter);
av_free
p
(
&
ws->sin);
return r;
}
@@ -463,8 +463,8 @@ static av_cold int wavesynth_close(AVCodecContext *avc)
{
struct wavesynth_context *ws = avc->priv_data;
av_free(ws->sin);
av_free(ws->inter);
av_free
p
(
&
ws->sin);
av_free
p
(
&
ws->inter);
return 0;
}
Write
Preview
Loading…
Cancel
Save