File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.15 1996/07/31 02:11:23 scrappy Exp $
10
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.16 1996/08/06 00:40:12 julian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -1064,10 +1064,14 @@ MainLoop(PsqlSettings *settings, FILE *source)
1064
1064
slashCmdStatus = HandleSlashCmds (settings ,
1065
1065
line ,
1066
1066
query );
1067
- if (slashCmdStatus == 1 )
1067
+ if (slashCmdStatus == 1 ) {
1068
+ free (line );
1068
1069
continue ;
1069
- if (slashCmdStatus == 2 )
1070
+ }
1071
+ if (slashCmdStatus == 2 ) {
1072
+ free (line );
1070
1073
break ;
1074
+ }
1071
1075
if (slashCmdStatus == 0 )
1072
1076
sendQuery = 1 ;
1073
1077
}
You can’t perform that action at this time.
0 commit comments