1

What is not freeing!? enter image description here

[code snipped by mod]

   // end of load function (mod comment)

    return true;
    fclose(dict_file);
}

[code snipped by mod]

  • I had this problem too, not sure what's causing it. – i_am_david Aug 2 '15 at 4:22
  • the code snippet you posted above is from load() or from unload() ??? – kawegan Sep 21 '15 at 15:02
0

352 bytes are still reachable because you have failed to close the dict_file. Notice that your function does a return true; and then calls fclose(dict_file); That close statement will never be executed as the function has already returned (i.e., no longer running).

If you close the file before returning, your 352 bytes should no longer be reachable.

  • that's true,it worked. – csStudent Aug 2 '15 at 6:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .