For ENG-4396, remember to release byte array elements
For ENG-4396, captain obvious recommends not double freeing JNI byte arrays