We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parenteb9c8e0 commit1952f15Copy full SHA for 1952f15
src/bin/psql/psql.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.74 1997/06/20 02:20:26 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.75 1997/06/29 05:06:43 momjian Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -1558,6 +1558,7 @@ MainLoop(PsqlSettings * settings, FILE * source)
1558
free(line);
1559
break;
1560
}
1561
+free(line);
1562
}elseif (strlen(query)+strlen(query_start)>MAX_QUERY_BUFFER) {
1563
fprintf(stderr,"query buffer max length of %d exceeded\n",
1564
MAX_QUERY_BUFFER);
@@ -1573,7 +1574,7 @@ MainLoop(PsqlSettings * settings, FILE * source)
1573
1574
}else
1575
strcpy(query,query_start);
1576
-free(line);/* PURIFY */
1577
+free(line);/* PURIFY */
1578
1579
1580
if (slashCmdStatus==0) {