From adb9bec92afeb0dbc65fee0aa7c029bcf8c4fb8f Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 9 Jun 2022 12:40:23 -0600 Subject: [PATCH] Eliminate self-strcpy in writeBibliography (#91) --- src/mmwtex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mmwtex.c b/src/mmwtex.c index 372efeb2..2c4e6647 100644 --- a/src/mmwtex.c +++ b/src/mmwtex.c @@ -5373,7 +5373,7 @@ flag writeBibliography(vstring bibFile, let(&str2, left(str2, k - 1)); break; } - let(&str2, str2); + freeTempAlloc(); } free_vstring(newstr);