Created attachment 89074 [details] [review] Patch Found in master branch. Allocated memory is not freed correctly if an error occures. Patch attached.
Comment on attachment 89074 [details] [review] Patch Review of attachment 89074 [details] [review]: ----------------------------------------------------------------- Makes sense.
I was initially concerned that this might be a double/multiple-free (which is a potential security vulnerability), but from reading the code, it just calls dbus_free(NULL) repeatedly, which is always harmless. So, yes it's just a leak. Fixed in git for 1.6.20, 1.7.10. Thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.