mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1242061: remove small strdup() leak of devicename strings in getUserMedia enumeration rs=jib
This commit is contained in:
parent
1e1d1320fe
commit
36f27c0871
@ -282,7 +282,7 @@ private:
|
||||
} else {
|
||||
// new device, add to the array
|
||||
mDeviceIndexes->AppendElement(i);
|
||||
mDeviceNames->AppendElement(strdup(devices->device[i]->device_id));
|
||||
mDeviceNames->AppendElement(devices->device[i]->device_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user