Merge pull request #11 from JasonChmn/Topic/AddDestructor

[Fix] add destructor to avoid memory leak.
8 jobs for devel in 1 minute and 49 seconds (queued for 1 second)