core,w32: Fix minor potential memleak
* src/w32-util.c (_gpgme_create_process_utf8): Free converted startup info strings.
This commit is contained in:
parent
ecbba12b86
commit
140d694e1f
@ -887,6 +887,8 @@ int _gpgme_create_process_utf8 (const char *application_name_utf8,
|
|||||||
working_directory,
|
working_directory,
|
||||||
si ? &siw : NULL,
|
si ? &siw : NULL,
|
||||||
lpProcessInformation);
|
lpProcessInformation);
|
||||||
|
free (siw.lpTitle);
|
||||||
|
free (siw.lpDesktop);
|
||||||
free (application_name);
|
free (application_name);
|
||||||
free (command_line);
|
free (command_line);
|
||||||
free (working_directory);
|
free (working_directory);
|
||||||
|
Loading…
Reference in New Issue
Block a user