1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

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.
This commit is contained in:
Simon Tatham 2020-02-15 15:55:30 +00:00
parent 230c8ef4ee
commit 891bf36600

View File

@ -1191,6 +1191,7 @@ void run_agent(FILE *logfp, const char *symlink_path)
exit(1);
}
strbuf_free(upc->prompt_buf);
conf_free(conf);
}