Freeing vector-space objects, apparently good.

Not freeing enough cons-space objects, though!
This commit is contained in:
Simon Brooke 2018-12-29 08:23:26 +00:00
parent 40e1f3ca64
commit ad806de656
3 changed files with 17 additions and 3 deletions

View file

@ -67,6 +67,7 @@ struct cons_pointer make_vso( char *tag, uint64_t payload_size ) {
struct vector_space_object *vso = malloc( padded );
if ( vso != NULL ) {
memset(vso, 0, padded);
debug_printf( DEBUG_ALLOC,
L"make_vso: about to write tag '%s' into vso at %p\n",
tag, vso );