Initialise pointer to null, otherwise it could delete random memory in the destructor