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
nnn.c
View file

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