* cord/tests/de.c (add_map, add_hist): Check GC_NEW() result for null.
{
line_map new_map = GC_NEW(struct LineMapRep);
+ if (NULL == new_map) OUT_OF_MEMORY;
if (current_map_size >= MAX_MAP_SIZE) prune_map();
new_map -> line = line;
new_map -> pos = pos;
{
history new_file = GC_NEW(struct HistoryRep);
+ if (NULL == new_file) OUT_OF_MEMORY;
new_file -> file_contents = current = s;
current_len = CORD_len(s);
new_file -> previous = now;