another minor bugfix in the memory allocator, this time in the free routine.