From 140d694e1fddf16fa3fd2371b9a852ebb14622c8 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Tue, 9 Apr 2019 14:24:17 +0200 Subject: core,w32: Fix minor potential memleak * src/w32-util.c (_gpgme_create_process_utf8): Free converted startup info strings. --- src/w32-util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/w32-util.c b/src/w32-util.c index 6aa45f8f..fba43448 100644 --- a/src/w32-util.c +++ b/src/w32-util.c @@ -887,6 +887,8 @@ int _gpgme_create_process_utf8 (const char *application_name_utf8, working_directory, si ? &siw : NULL, lpProcessInformation); + free (siw.lpTitle); + free (siw.lpDesktop); free (application_name); free (command_line); free (working_directory); -- cgit v1.2.1