Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
5d15721d
Commit
5d15721d
authored
Jan 10, 2017
by
Debargha Mukherjee
Browse files
Fix a memory leak
Change-Id: I1f66837151a955a9fde0c1b4670ab0fc1d318111
parent
66ca5977
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/encoder.c
View file @
5d15721d
...
...
@@ -2600,6 +2600,10 @@ void av1_remove_compressor(AV1_COMP *cpi) {
cpi
->
twopass
.
frame_mb_stats_buf
=
NULL
;
}
#endif
#if CONFIG_INTERNAL_STATS
aom_free
(
cpi
->
ssim_vars
);
cpi
->
ssim_vars
=
NULL
;
#endif // CONFIG_INTERNAL_STATS
av1_remove_common
(
cm
);
av1_free_ref_frame_buffers
(
cm
->
buffer_pool
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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