On 7/27/22 17:05, Mike Pattrick wrote:
> On Fri, Jul 22, 2022 at 3:19 PM Ilya Maximets <[email protected]> wrote:
>>
>> PyModule_AddObject() may fail and it doesn't steal references
>> in this case.  The error condition should be handled to avoid
>> possible memory leaks.
>>
>> And while it's not strictly specified if PyModule_Create may
>> fail, most of the examples in python documentation include
>> handling of a NULL case.
>>
>> Signed-off-by: Ilya Maximets <[email protected]>
> 
> Looks good to me!
> 
> Acked-by: Mike Pattrick <[email protected]>

Thanks!  Applied and backported down to 2.17.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to