GNOME Bugzilla – Bug 712360
procman_pkexec free result of g_strdup_printf
Last modified: 2013-11-16 10:29:15 UTC
Created attachment 259866 [details] [review] patch - free string Patch attached.
Review of attachment 259866 [details] [review]: Thanks for the patch, and finding the leak, however I'd like to avoid using goto where possible. As the only action skipped by the goto is ret = TRUE (and the g_message), that could be put into the else branch of the if statement, and g_free would come after the else branch, being always executed. What do you think?
Created attachment 259868 [details] [review] patch - free string Sure
Review of attachment 259868 [details] [review]: Thanks, looks ok.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.