From: Mark G. <ma...@xp...> - 2013-10-28 21:00:47
|
Hello, I am getting this warning when running >swig -module foobar -python -c++ -shadow -outdir dist foobar.i foobar.h:51: Warning 454: Setting a pointer/reference variable may leak memory. That line in foobar.h is: static foobar *sInstance; I can't find any explanation for this warning 454 in the documentation. What is this and how to avoid it? Thank you Mark |