You should declare or disable a copy constructor and/or assignment operator since you are creating a non-default constructor and destructor.

This is know as the "Rule of 3":

http://en.wikipedia.org/wiki/Rule_of_three_%28C%2B%2B_programming%29