fix: Do not call unref on a borrowed pointer

gi_base_info_get_container returns a borrowed pointer, so we should not call gi_base_info_unref on it.

This caused a segfault when repeatedly accessing an array field with length annotation on a struct.

Fixes #738 (closed)

Merge request reports

Loading