diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-12 05:14:49 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-12 05:14:49 +0000 |
commit | a50606de91fea47120daea9686956bcf0bc52bac (patch) | |
tree | 724150fb3c90c0259c223cc1303e8e554c1eb8e3 /src | |
parent | 638cc9abf89a4e0ae2de45d716db2e6f7ae50501 (diff) | |
download | postgresql-a50606de91fea47120daea9686956bcf0bc52bac.tar.gz postgresql-a50606de91fea47120daea9686956bcf0bc52bac.zip |
Remove somebody's ill-considered free() call, per report from Chander Ganesan.
No, I do not care whether Coverity considers this a memory leak.
It's entirely not worth the code space to do it correctly.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_ctl/pg_ctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c index 728538b971e..57207ebd995 100644 --- a/src/bin/pg_ctl/pg_ctl.c +++ b/src/bin/pg_ctl/pg_ctl.c @@ -4,7 +4,7 @@ * * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.73 2006/10/04 00:30:04 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.74 2006/10/12 05:14:49 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -858,7 +858,6 @@ do_status(void) if (optlines != NULL) for (; *optlines != NULL; optlines++) fputs(*optlines, stdout); - free(optlines); return; } } |