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

memory leak fixed

Rev: src/error.c:1.18
parent 0e88611d
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
#include "backend.h"
#include "operators.h"
RCSID("$Id: error.c,v 1.17 1998/04/13 14:19:40 grubba Exp $");
RCSID("$Id: error.c,v 1.18 1998/04/16 21:30:50 hubbe Exp $");
#undef ATTRIBUTE
#define ATTRIBUTE(X)
......@@ -64,6 +64,8 @@ void pike_throw(void) ATTRIBUTE((noreturn))
#endif
free_object(fp->current_object);
free_program(fp->context.prog);
if(fp->context.parent)
free_object(fp->context.parent);
fp = fp->parent_frame;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment