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?