Hi ,
You can use free(ptr) to free the memory assigned by calloc
free() function is used to free dynamically allocated memory,
No matter how you have allocated, For Ex. using malloc(), calloc(), realloc().