mirror of
https://github.com/AdaCore/langkit.git
synced 2026-02-12 12:28:12 -08:00
Unwrapping an array of structs is meant to take the ownership share for these structs, and thus to clear them. This means that the destructor of Python wrappers for structs must handle the case where they no longer have the ownership of a struct value: they didn't so far, which triggered crashes. TN: UA05-027
362 B
362 B