Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
ddd50a0b
Commit
ddd50a0b
authored
Mar 19, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This patch fixes a very small memory leak in psql, spotted with
valgrind. Neil Conway
parent
1ef7ba20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/bin/psql/command.c
src/bin/psql/command.c
+3
-1
No files found.
src/bin/psql/command.c
View file @
ddd50a0b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright 2000-2002 by PostgreSQL Global Development Group
* Copyright 2000-2002 by PostgreSQL Global Development Group
*
*
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.9
2 2003/03/18 22:15:43 petere
Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.9
3 2003/03/19 22:49:43 momjian
Exp $
*/
*/
#include "postgres_fe.h"
#include "postgres_fe.h"
#include "command.h"
#include "command.h"
...
@@ -882,6 +882,8 @@ exec_command(const char *cmd,
...
@@ -882,6 +882,8 @@ exec_command(const char *cmd,
{
{
if
(
status
!=
CMD_UNKNOWN
)
if
(
status
!=
CMD_UNKNOWN
)
psql_error
(
"
\\
%s: extra argument '%s' ignored
\n
"
,
cmd
,
val
);
psql_error
(
"
\\
%s: extra argument '%s' ignored
\n
"
,
cmd
,
val
);
if
(
val
)
free
(
val
);
}
}
if
(
options_string
&&
continue_parse
)
if
(
options_string
&&
continue_parse
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment