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:
Nathan Froyd 2016-06-09 18:44:34 -04:00
Родитель 85e988af23
Коммит 313f1bfddf
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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