Browse Source

Fix build break

master
Arun Prakash Jana 4 years ago
parent
commit
f3c4dae1dd
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c View File

@@ -2918,7 +2918,7 @@ static bool parsekvpair(kv **arr, char **envcpy, const uchar id, ushort *items)
if (!maxitems)
return FALSE;

*arr = malloc(maxitems * sizeof(kv));
*arr = calloc(maxitems, sizeof(kv));
if (!arr) {
xerror();
return FALSE;


Loading…
Cancel
Save