PATCH: Memory leaks on start-up

From: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
To: pgsql-patches(at)postgresql(dot)org
Cc: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, pgsql-hackers(at)postgresql(dot)org
Subject: PATCH: Memory leaks on start-up
Date: 2003-07-22 08:14:21
Message-ID: 16156.62045.611010.936720@kelvin.csl.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Guys, attached is a patch to fix two memory leaks on start-up. The
first is when freeaddrinfo has been used to free memory allocated by
getaddrinfo2 (so freeaddrinfo2 should be used). The second is 2 leaks
when creating the lock (PostgreSQL and socket) files.

The diff is against last night's CVS HEAD.

L.

Attachment Content-Type Size
pgsql-20030721.diffs text/plain 2.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Teodor Sigaev 2003-07-22 09:38:53 Re: tsearch2 for 7.3.X
Previous Message Peter Eisentraut 2003-07-22 07:39:14 threads.c

Browse pgsql-patches by date

  From Date Subject
Next Message Andreas Pflug 2003-07-22 13:21:55 Re: ruleutils with pretty-print option
Previous Message Bruce Momjian 2003-07-22 03:52:35 Re: ruleutils with pretty-print option