memory leaks in _dbus_get_install_root_as_hash in case of OOM condition
The mentioned function contains memory leaks as shown below:
static dbus_bool_t
_dbus_get_install_root_as_hash(DBusString *out)
{
DBusString install_path;
_dbus_string_init(&install_path);
-> no oom check here
if (!_dbus_get_install_root (&install_path) ||
_dbus_string_get_length (&install_path) == 0)
return FALSE;
-> install_path
is not free'd in case of errors.
_dbus_string_init(out);
-> no oom check here
_dbus_string_tolower_ascii(&install_path,0,_dbus_string_get_length(&install_path));
if (!_dbus_sha_compute (&install_path, out))
return FALSE;
-> install_path
and out
are not free'd in case of errors.