Fixed deserialization error caused by SWIG not setting the object ownership flag (see bug 1902)
Merge pull request #112 from peastman/master

Fixed deserialization error caused by SWIG not setting the object ownership flag (see bug 1902)