diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-10 10:17:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-10 10:17:19 +0100 |
commit | 2143f46df26bde529db350f4b5965a6508385c2f (patch) | |
tree | d4bdab6220f7e24d7fad88087fb6c566bd6ff2b2 /modules/webm | |
parent | 2fdeed1b4f3820bebf9f39d69eb8bd59e1c4f2f2 (diff) | |
parent | 7dda9309f91a71b9b3e2088f11bc322e3c15d669 (diff) |
Merge pull request #33516 from qarmin/small_fixes
Memory leaks and crash fixes
Diffstat (limited to 'modules/webm')
-rw-r--r-- | modules/webm/video_stream_webm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/webm/video_stream_webm.cpp b/modules/webm/video_stream_webm.cpp index 4ce0db3746..54b284f939 100644 --- a/modules/webm/video_stream_webm.cpp +++ b/modules/webm/video_stream_webm.cpp @@ -484,6 +484,8 @@ RES ResourceFormatLoaderWebm::load(const String &p_path, const String &p_origina *r_error = OK; } + f->close(); + memdelete(f); return webm_stream; } |