Hot answers tagged

1 vote
Accepted

Pset5 speller memory leak (valgrind: definitely lost)

A quick read found this in the check function: node *cursor = malloc(sizeof(node)); ... cursor = table[index]; Simply put, these two lines create the node pointer called cursor, allocate memory to it,...
  • 64.6k

Only top scored, non community-wiki answers of a minimum length are eligible