mirror of
https://github.com/jarun/nnn.git
synced 2025-04-19 03:45:01 +00:00
Free allocated resources using regfree (#71)
This commit is contained in:
parent
26e739a6d9
commit
77b0fe0104
1 changed files with 1 additions and 0 deletions
1
nnn.c
1
nnn.c
|
@ -2007,6 +2007,7 @@ populate(char *path, char *oldname, char *fltr)
|
|||
|
||||
/* Find cur from history */
|
||||
cur = dentfind(dents, oldname, ndents);
|
||||
regfree(&re);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue