Commit a50606de authored by Tom Lane's avatar Tom Lane

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.
parent 638cc9ab
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * 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) ...@@ -858,7 +858,6 @@ do_status(void)
if (optlines != NULL) if (optlines != NULL)
for (; *optlines != NULL; optlines++) for (; *optlines != NULL; optlines++)
fputs(*optlines, stdout); fputs(*optlines, stdout);
free(optlines);
return; return;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment