No, I do not care whether Coverity considers this a memory leak.
It's entirely not worth the code space to do it correctly.
*
* 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 $
*
*-------------------------------------------------------------------------
*/
if (optlines != NULL)
for (; *optlines != NULL; optlines++)
fputs(*optlines, stdout);
- free(optlines);
return;
}
}