title: Swig / Python memory leak detected
body: <p>I have a very complicated class for which I'm attempting to make Python wrappers in SWIG. When I create an instance of the item in Python, however, I'm unable to initialize certain data members without receiving the message:</p>
  
  <pre><code>&gt;&gt;&gt; myVar = myModule.myDataType()
  swig/python detected a memory leak of type 'MyDataType *', no destructor found.
  </code></pre>
  
  <p>Does anyone know what I need to do to address this? Is there a flag I could be using to generate destructors?</p>