Commit 2586652e authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

winepulse: Don't overwrite the result in the insufficient buffer case.

Fixes a regression caused by 13fa7a57.
parent b5a0dd8c
......@@ -2494,8 +2494,7 @@ static NTSTATUS pulse_get_prop_value(void *args)
if (strcmp(params->device, dev->pulse_name))
continue;
if (IsEqualPropertyKey(*params->prop, devicepath_key)) {
if (!get_device_path(dev, params))
break;
get_device_path(dev, params);
return STATUS_SUCCESS;
} else if (IsEqualGUID(&params->prop->fmtid, &PKEY_AudioEndpoint_GUID)) {
switch (params->prop->pid) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment