mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-07 07:04:09 +00:00
fix bug 20946, memory leak in wallet code, r=buster
This commit is contained in:
parent
c8ebca0bda
commit
f14811c83c
@ -307,7 +307,7 @@ nsWalletlibService::OnEndDocumentLoad(nsIDocumentLoader* aLoader, nsIChannel* ch
|
||||
rv = inputElement->SetValue(value);
|
||||
// warning! don't delete valueString
|
||||
}
|
||||
delete[] nameString;
|
||||
Recycle(nameString);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user