mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
![Andrew McCreight](/assets/img/avatar_default.png)
GetName() returns a new string, but that string is never freed. This patch avoids the leak by not copying the string. This is okay because the scope of intfNameChars is within the scope of aInfo.