diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-04-26 02:37:16 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-04-26 02:37:16 +0530 |
commit | 01392d48ad47e44932bec57701bd9ac2921f0252 (patch) | |
tree | 1805d55919ec871f8cc8b56a1885e899f5283119 /src | |
parent | 99d21531b45f61f0171cda4d1ae3a3262e8fde81 (diff) | |
download | nnn-01392d48ad47e44932bec57701bd9ac2921f0252.tar.gz |
Fix buffer cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3049,7 +3049,7 @@ static wchar_t *unescape(const char *str, uint maxcols) size_t lencount = 0; #ifdef NOLOCALE - memset(wbuf, 0, sizeof(NAME_MAX + 1) * sizeof(wchar_t)); + memset(wbuf, 0, NAME_MAX + 1); #endif /* Convert multi-byte to wide char */ |