discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] swig/python memory leak


From: Josh Blum
Subject: Re: [Discuss-gnuradio] swig/python memory leak
Date: Mon, 27 May 2013 19:53:31 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5


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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]