From 891bf36600606a3a0beaaa76595e928e588a4a14 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 15 Feb 2020 15:55:30 +0000 Subject: [PATCH] Fix benign memory leak in uxpgnt. No real need - when we fail to free this strbuf, we were about to exit the whole process anyway - but it keeps Leak Sanitiser off my back, as usual. --- unix/uxpgnt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/unix/uxpgnt.c b/unix/uxpgnt.c index 8909ded6..707f9376 100644 --- a/unix/uxpgnt.c +++ b/unix/uxpgnt.c @@ -1191,6 +1191,7 @@ void run_agent(FILE *logfp, const char *symlink_path) exit(1); } + strbuf_free(upc->prompt_buf); conf_free(conf); }