summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/hp2ps/HpFile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/hp2ps/HpFile.c b/utils/hp2ps/HpFile.c
index bdbf201503..5ee9cc259e 100644
--- a/utils/hp2ps/HpFile.c
+++ b/utils/hp2ps/HpFile.c
@@ -423,6 +423,8 @@ GetString(FILE *infp)
stringbuffer[i] = '\0';
thestring = copystring(stringbuffer);
+ free(stringbuffer);
+
ASSERT(ch == '\"');
ch = getc(infp); /* skip the '\"' that terminates the string */