Don't need to check for null here. free(NULL) is okay, bro.