Add destructor for struct

If I did this right it should clean up the char*