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

Nick Treleaven notifications at xxxxx
Sun Sep 1 17:57:33 UTC 2019


ntrel commented on this pull request.



> @@ -817,7 +816,8 @@ static gchar *prepare_run_cmd(GeanyDocument *doc, gchar **working_dir, guint cmd
 	{
 		if (vc->skip_run_script)
 		{
-			utils_free_pointers(2, cmd_string_utf8, working_dir_utf8, NULL);
+			utils_free_pointers(3, cmd_string_utf8, working_dir_utf8,
+				*working_dir, NULL);

Sorry, I messed up here. Replaced this commit with one that just fixes the unused variable.

-- 
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#discussion_r319769243
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190901/10be1017/attachment.html>


More information about the Github-comments mailing list