Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
31fe3c4d
Commit
31fe3c4d
authored
Mar 14, 2016
by
Matthieu Bouron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/mediacodec: fix codec_name leak
parent
a68d4bf2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
mediacodecdec.c
libavcodec/mediacodecdec.c
+2
-0
mediacodecdec.h
libavcodec/mediacodecdec.h
+1
-1
No files found.
libavcodec/mediacodecdec.c
View file @
31fe3c4d
...
...
@@ -566,5 +566,7 @@ int ff_mediacodec_dec_close(AVCodecContext *avctx, MediaCodecDecContext *s)
s
->
format
=
NULL
;
}
av_freep
(
&
s
->
codec_name
);
return
0
;
}
libavcodec/mediacodecdec.h
View file @
31fe3c4d
...
...
@@ -34,7 +34,7 @@
typedef
struct
MediaCodecDecContext
{
c
onst
c
har
*
codec_name
;
char
*
codec_name
;
FFAMediaCodec
*
codec
;
FFAMediaFormat
*
format
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment