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
e73ccfd6
Commit
e73ccfd6
authored
Jun 25, 2016
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/subtitles: fix memleak after
6bcb1e1a
Spotted-by:
James Almer
<
jamrial@gmail.com
>
parent
ee2a8f14
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vf_subtitles.c
libavfilter/vf_subtitles.c
+1
-0
No files found.
libavfilter/vf_subtitles.c
View file @
e73ccfd6
...
@@ -478,6 +478,7 @@ end:
...
@@ -478,6 +478,7 @@ end:
av_dict_free
(
&
codec_opts
);
av_dict_free
(
&
codec_opts
);
if
(
dec_ctx
)
if
(
dec_ctx
)
avcodec_close
(
dec_ctx
);
avcodec_close
(
dec_ctx
);
avcodec_free_context
(
&
dec_ctx
);
if
(
fmt
)
if
(
fmt
)
avformat_close_input
(
&
fmt
);
avformat_close_input
(
&
fmt
);
return
ret
;
return
ret
;
...
...
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