init pointer with NULL, fixed  #4

Calling free on a not inialized pointer leads to undefined behaviour,
calling free(NULL); however is save.