[Github-comments] [geany/geany] build.c: Fix memory leak & make some small refactorings (#2271)

Nick Treleaven notifications at xxxxx
Fri Aug 23 16:14:17 UTC 2019


ntrel commented on this pull request.



> @@ -837,16 +837,17 @@ static gchar *prepare_run_cmd(GeanyDocument *doc, gchar **working_dir, guint cmd
 	run_cmd = g_strdup_printf("\"%s\" \"%s\" %d %s", helper, *working_dir, autoclose ? 1 : 0, cmd_string);
 	g_free(helper);
 #else
+	GError *error = NULL;

This was causing an unused variable warning on Windows.

-- 
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/2271#pullrequestreview-279094507
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190823/a4f00133/attachment.html>


More information about the Github-comments mailing list