Re: pgsql: Fix memory leak in PLySequence_ToJsonbValue()

From: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>
To:
Cc: pgsql-committers <pgsql-committers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgsql: Fix memory leak in PLySequence_ToJsonbValue()
Date: 2018-06-15 12:09:15
Message-ID: CAPpHfdtOpSTWBt1L8y=N8dveYCdMZr-w0KOgzw-168-QMiiQ9g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Fri, Jun 15, 2018 at 3:07 PM Alexander Korotkov
<akorotkov(at)postgresql(dot)org> wrote:
> PyObject returned from PySequence_GetItem() is not released. Similar code in PLyMapping_ToJsonbValue() is correct, because according to Python documentation

I'm sorry for misformatting commit message. I'll be more careful
about that in future.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-06-15 13:46:45 Re: pgsql: Fix memory leak in PLySequence_ToJsonbValue()
Previous Message Alexander Korotkov 2018-06-15 12:06:47 pgsql: Fix memory leak in PLySequence_ToJsonbValue()