Fix double free introduced in 9b9e4369d34e24a9dc7f3f1494865a026ca4
authorMatt Corallo <git@bluematt.me>
Mon, 10 Jan 2022 04:30:00 +0000 (04:30 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 10 Jan 2022 05:04:35 +0000 (05:04 +0000)
commit2c6019a5b2f36dda095d5487aa0111dc8366e17a
tree8baa4b1f94591976cdb85f566faa9a9d485e4687
parent2a65456aa0b540060dcf3ca707a54dc98cc3f38a
Fix double free introduced in 9b9e4369d34e24a9dc7f3f1494865a026ca4

This requires correctly setting `holds_ref` as well as handling
`holds_ref` on pointed-to objects in the general-case ret_conv in
`gen_type_mapping.py`.
gen_type_mapping.py
genbindings.py