Recall that memory reserved dynamically via malloc() is completely your responsibility. Therefore, when you are done using the memory it is your job to tell the computer that you no longer need it and thus make available this memory for other purposes. The process of releasing memory is called freeing and we will now learn how to release, or free, memory that has been reserved via malloc() in the heap. The function to do so is called free() and it takes as an argument a pointer to the memory block that you’d like to release.