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: Nada ABDELKADER
Subject: Re: [Discuss-gnuradio] swig/python memory leak
Date: Tue, 28 May 2013 11:07:20 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.3.11)

The .i file includes the .h file where "my_type" is defined. isn't that enough?

Josh Blum <address@hidden> a écrit :



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

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





reply via email to

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