Commit 2640c950 authored by Jason Rhinelander's avatar Jason Rhinelander
Browse files

Stash std::strings used for tp_name in internals

Types need `tp_name` set to a C-style string, but the current `strdup`
ends up with a leak (issue #977).  This avoids the strdup by storing
the `std::string` in internals so that during interpreter shutdown it
will be properly destroyed.
parent 7437c695
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment