Fix memory leak in _dbus_win_set_error_from_win_error().
authorRalf Habacker <ralf.habacker@freenet.de>
Wed, 11 Nov 2015 14:02:44 +0000 (15:02 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Wed, 11 Nov 2015 14:02:44 +0000 (15:02 +0100)
commitb4cb853e9139569137e5749add4a4e6edb85df4d
treeeead0a12c317e16f813d63b50f6668972fbd3b1d
parent52e97d76a6e3ffca8d0f949c9c322b8b4dd29ddd
Fix memory leak in _dbus_win_set_error_from_win_error().

There is no need to make a local (leaked) copy of the message,
because dbus_set_error() already makes a copy of its parameters.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92721
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
dbus/dbus-sysdeps-win.c