On 05/27/2013 11:10 AM, Nada ABDELKADER wrote: > Hi, > > May be this is not the appropriate place to post this problem but I'm > working on gnuradio and USRPs and trying to access c++ objects from python. > Every thing works well, but in each call I got this display: > > swig/python detected a memory leak of type 'my_type *', no destructor > found. > > "my_type" is a struct type that I've defined in c++. > It seems that swig didn't recognize "my_type" type but how to figure it > out. > Any idea?
The .i file that you gave to swig, its probably missing a definition for my_type. http://stackoverflow.com/questions/918180/swig-python-memory-leak-detected -josh > > Regards, > Nada > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio