diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-18 15:23:16 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-18 15:23:16 +0100 |
commit | 292b90d4fa11022661f449dd3efb73d5ac737313 (patch) | |
tree | 843721ec1450241506c3ac1995bc2c32437caaf8 /src/scriptfile.c | |
parent | a21df1db3ca619afdcb47931af042508a6bbc8e5 (diff) | |
download | vim-git-292b90d4fa11022661f449dd3efb73d5ac737313.tar.gz |
patch 8.2.0399: various memory leaksv8.2.0399
Problem: Various memory leaks.
Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803)
Diffstat (limited to 'src/scriptfile.c')
-rw-r--r-- | src/scriptfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c index 9c644e2b0..838d5f642 100644 --- a/src/scriptfile.c +++ b/src/scriptfile.c @@ -1133,7 +1133,8 @@ do_source( { // Already loaded and no need to load again, return here. *ret_sid = sid; - return OK; + retval = OK; + goto theend; } #endif |