Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita50606d

Browse files
committed
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.
1 parent638cc9a commita50606d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/bin/pg_ctl/pg_ctl.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
66
*
7-
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.73 2006/10/04 00:30:04 momjian Exp $
7+
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.74 2006/10/12 05:14:49 tgl Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -858,7 +858,6 @@ do_status(void)
858858
if (optlines!=NULL)
859859
for (;*optlines!=NULL;optlines++)
860860
fputs(*optlines,stdout);
861-
free(optlines);
862861
return;
863862
}
864863
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp