Freeing of null pointer

what happens when we try to free a null pointer ? why it is considered as a memory leak ?

null pointer is pointing to nothing so it will have /perform no action. Memory leak is when u ptr is pointing to some thing and u didnt delete it ,i am taking in frame of dynamic allocation where u have to explicity free the memory not in static