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
be9b0d2c
Commit
be9b0d2c
authored
Apr 10, 2012
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_drawtext: fix memory leak of draw expression.
parent
423047ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vf_drawtext.c
libavfilter/vf_drawtext.c
+2
-0
No files found.
libavfilter/vf_drawtext.c
View file @
be9b0d2c
...
...
@@ -430,6 +430,7 @@ static av_cold void uninit(AVFilterContext *ctx)
av_expr_free
(
dtext
->
x_pexpr
);
dtext
->
x_pexpr
=
NULL
;
av_expr_free
(
dtext
->
y_pexpr
);
dtext
->
y_pexpr
=
NULL
;
av_expr_free
(
dtext
->
d_pexpr
);
dtext
->
d_pexpr
=
NULL
;
av_freep
(
&
dtext
->
boxcolor_string
);
av_freep
(
&
dtext
->
expanded_text
);
...
...
@@ -439,6 +440,7 @@ static av_cold void uninit(AVFilterContext *ctx)
av_freep
(
&
dtext
->
text
);
av_freep
(
&
dtext
->
x_expr
);
av_freep
(
&
dtext
->
y_expr
);
av_freep
(
&
dtext
->
d_expr
);
av_freep
(
&
dtext
->
positions
);
dtext
->
nb_positions
=
0
;
...
...
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