mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Bug 1278863 - fix delete/delete[] mismatch in NativeCrypto; r=snorp
This mismatch doesn't affect us with everything going through jemalloc, but clang does warn about it, so let's get rid of the warning.
This commit is contained in:
parent
85e988af23
commit
313f1bfddf
@ -126,7 +126,7 @@ extern "C" JNIEXPORT jbyteArray MOZ_JNICALL Java_org_mozilla_gecko_background_na
|
||||
env->SetByteArrayRegion(out, 0, 32, (jbyte*)digest);
|
||||
}
|
||||
|
||||
delete digest;
|
||||
delete[] digest;
|
||||
|
||||
return out;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user