Bug 1242061: remove small strdup() leak of devicename strings in getUserMedia enumeration rs=jib

This commit is contained in:
Randell Jesup 2016-01-23 02:03:29 -05:00
parent 1e1d1320fe
commit 36f27c0871

View File

@ -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);
}
}
}