[Github-comments] [geany/geany] Windows: Convert working directory to locale encoding before spawning commands (#1095)

Colomban Wendling notifications at xxxxx
Tue Jun 28 18:20:44 UTC 2016


> @@ -522,6 +522,9 @@ static gboolean spawn_async_with_pipes(const gchar *working_directory, const gch
>  #ifdef G_OS_WIN32
>  	GString *command;
>  	GArray *environment;
> +	GError *gerror = NULL;
> +	gchar *locale_working_directory;
> +	gchar *locale_command;

those 2 are conditionally initialized but unconditionally freed, not good :)

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1095/files/a95f174fe1ab0707c8fc092fceb9294cb92123b3#r68813176
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160628/7ad532cb/attachment.html>


More information about the Github-comments mailing list