* clmodule.c (doParams): free PVbuffer in error condition.

* frameobject.c (newframeobject): initialize ob_type if taking entry
  from the free list, since it is zeroed out when DEBUG is defined.
This commit is contained in:
Sjoerd Mullender 1993-08-03 15:11:36 +00:00
parent d29eb6232c
commit f64992e95d
2 changed files with 4 additions and 1 deletions

View file

@ -137,6 +137,7 @@ newframeobject(back, code, globals, locals, owner, nvalues, nblocks)
else {
f = free_list;
free_list = free_list->f_back;
f->ob_type = &Frametype;
NEWREF(f);
}
if (f != NULL) {