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 77 *
88 *
99 * 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 $
1111 *
1212 *-------------------------------------------------------------------------
1313 */
@@ -1064,10 +1064,14 @@ MainLoop(PsqlSettings *settings, FILE *source)
10641064 slashCmdStatus = HandleSlashCmds (settings ,
10651065 line ,
10661066 query );
1067- if (slashCmdStatus == 1 )
1067+ if (slashCmdStatus == 1 ) {
1068+ free (line );
10681069 continue ;
1069- if (slashCmdStatus == 2 )
1070+ }
1071+ if (slashCmdStatus == 2 ) {
1072+ free (line );
10701073 break ;
1074+ }
10711075 if (slashCmdStatus == 0 )
10721076 sendQuery = 1 ;
10731077 }
You can’t perform that action at this time.
0 commit comments