Mercurial > vim
view src/proto/blowfish.pro @ 22856:3b476f974406 v8.2.1975
patch 8.2.1975: Win32: memory leak when encoding conversion fails
Commit: https://github.com/vim/vim/commit/bbf9f344afd08954163191ed678352fb554fc254
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 10 22:03:40 2020 +0100
patch 8.2.1975: Win32: memory leak when encoding conversion fails
Problem: Win32: memory leak when encoding conversion fails.
Solution: Free the allocated memory. (Ken Takata, closes https://github.com/vim/vim/issues/7277)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 10 Nov 2020 22:15:03 +0100 |
parents | a1229400434a |
children | 7e9e53a0368f |
line wrap: on
line source
/* blowfish.c */ void crypt_blowfish_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to); void crypt_blowfish_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to); int crypt_blowfish_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len); int blowfish_self_test(void); /* vim: set ft=c : */