Avoid resource leak (src/test/modules/test_binaryheap/test_binaryheap.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject Avoid resource leak (src/test/modules/test_binaryheap/test_binaryheap.c)
Date
Msg-id CAEudQAqTGoxnCmz_O=To4gXtAb4MN4MGadr5O=2O7dMNktxd3A@mail.gmail.com
Whole thread Raw
Responses Re: Avoid resource leak (src/test/modules/test_binaryheap/test_binaryheap.c)
List pgsql-hackers
Hi.

Per Coverity.

Coverity reports this resource leak in test_binaryheap module.
I think that is right.

Trivial patch attached.

best regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ABI Compliance Checker GSoC Project
Next
From: Antonin Houska
Date:
Subject: Re: Unexpected changes of CurrentResourceOwner and CurrentMemoryContext