Skip to content
Snippets Groups Projects
Commit 32038a2c authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

memory leak (by grubba) fixed

Rev: src/modules/files/efuns.c:1.17
parent 83d32a1f
No related branches found
No related tags found
No related merge requests found
...@@ -278,6 +278,7 @@ void f_get_dir(INT32 args) ...@@ -278,6 +278,7 @@ void f_get_dir(INT32 args)
closedir(dir); closedir(dir);
THREADS_DISALLOW(); THREADS_DISALLOW();
a=aggregate_array(sp-save_sp); a=aggregate_array(sp-save_sp);
free((char *)dir);
} }
#else #else
dir=opendir(path); dir=opendir(path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment