Free allocated resources using regfree (#71)

This commit is contained in:
Daniel Lockyer 2017-12-27 10:36:57 +00:00 committed by Arun Prakash Jana
parent 26e739a6d9
commit 77b0fe0104
1 changed files with 1 additions and 0 deletions

1
nnn.c
View File

@ -2007,6 +2007,7 @@ populate(char *path, char *oldname, char *fltr)
/* Find cur from history */
cur = dentfind(dents, oldname, ndents);
regfree(&re);
return 0;
}