diff options
author | Andre Heinecke <[email protected]> | 2019-04-09 12:24:17 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2019-04-09 12:24:17 +0000 |
commit | 140d694e1fddf16fa3fd2371b9a852ebb14622c8 (patch) | |
tree | e359f6295a4a0648ca65fa42ed597b5eceea317f | |
parent | core,w32: Fix new w32-util functions (diff) | |
download | gpgme-140d694e1fddf16fa3fd2371b9a852ebb14622c8.tar.gz gpgme-140d694e1fddf16fa3fd2371b9a852ebb14622c8.zip |
core,w32: Fix minor potential memleak
* src/w32-util.c (_gpgme_create_process_utf8): Free converted
startup info strings.
-rw-r--r-- | src/w32-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |