man-group / ArcticDB

ArcticDB is a high performance, serverless DataFrame database built for the Python Data Science ecosystem.
http://arcticdb.io
Other
1.51k stars 93 forks source link

Fix string reference count leak #1998

Open willdealtry opened 1 week ago

willdealtry commented 1 week ago

The various Python string creation methods already start from a ref-count of 1, so we need to increment from 1 not 0 in the string allocation code, otherwise the reference count reduction in the allocated frame is not enough to free the object