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

memory leak fixed

Rev: src/program.c:1.6
parent 2066df18
No related branches found
No related tags found
No related merge requests found
......@@ -493,6 +493,12 @@ struct program *end_program()
free((char *)local_variables);
local_variables=l;
}
if(last_file)
{
free_string(last_file);
last_file=0;
}
#define PROGRAM_STATE
#define POP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment