[PATCH] Fix possible minor memory leak (src/backend/catalog/heap.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject [PATCH] Fix possible minor memory leak (src/backend/catalog/heap.c)
Date
Msg-id CAEudQAqivOGouww_WGUqZz1VHVBEq_kSeX_1yrKPFO68PagOjQ@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Hi,

Per Coverity.

Maybe this is a mistake, but,
Is it necessary or not to free the memory allocated by nodeToString?

If yes, the patch attached fixes this.

regards,

Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c)
Next
From: Daniel Gustafsson
Date:
Subject: Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c)