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
crypto: Use av_freep instead of av_free
This fixes a potential double free. Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n0.8
Etienne Buira
Michael Niedermayer
14 years ago
parent
c1ad93c08c
commit
c8d0d8bc76
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
libavformat/crypto.c
+ 2
- 2
libavformat/crypto.c
View File
@@ -97,8 +97,8 @@ static int crypto_open(URLContext *h, const char *uri, int flags)
return 0;
err:
av_free(c->key);
av_free(c->iv);
av_free
p
(
&
c->key);
av_free
p
(
&
c->iv);
return ret;
}
Write
Preview
Loading…
Cancel
Save