Ad
  • Custom User Avatar

    I usually received free() error when my output was bad somehow. Inspect carefully what your code is doing and what it is trying to return (I think the culprit may simply be the absence of null pointer at the end of the string, but I can't tell for sure).