___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform
On 7/5/17 5:41 AM, nmago wrote:
char* cname = new char[N];
memcpy(cname, &name, N);
nsACString strName(cname, N, 0);
This copies the data twice, and leaks it once, as far as I can tell.
What, exactly, are you trying to accomplish? For example, do you need
an nsACString that has a copy of you
On 07/07/2017 06:03 AM, Xidorn Quan wrote:
> On Fri, Jul 7, 2017, at 01:42 PM, Jet Villegas wrote:
>> Thanks for cleaning this up.
>>
>> On Thu, Jul 6, 2017 at 8:29 PM, Xidorn Quan wrote:
>>
>>> Although they don't currently match anything on web content, there is
>>> still some risk for unshipp
3 matches
Mail list logo