diff options
| author | Bruce Momjian | 2002-07-02 05:49:18 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2002-07-02 05:49:18 +0000 |
| commit | 4ac7c93d5f6411c91e8241b73507dad7c8aaf989 (patch) | |
| tree | 5707755b91066e9e7e8d68afe1c11d2cf1d4a67a /src/bin/psql/stringutils.c | |
| parent | 8ccf8be66fe50f7495ab49702f5dc1c7dfefb352 (diff) | |
The attached patch fixes a minor memory leak in psql.
Neil Conway
Diffstat (limited to 'src/bin/psql/stringutils.c')
| -rw-r--r-- | src/bin/psql/stringutils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/psql/stringutils.c b/src/bin/psql/stringutils.c index 9dfa7f4ddb..cc51e677e6 100644 --- a/src/bin/psql/stringutils.c +++ b/src/bin/psql/stringutils.c @@ -195,4 +195,6 @@ unescape_quotes(char *source, int quote, int escape) *tmp = '\0'; strcpy(source, destination); + + free(destination); } |
