I believe explaining the context surrounding this problem will only muddle things up, so I will cut straight to the chase:
If an Android application allots a small amount of native memory through JNI, and then looses the reference to that memory (i.e., the variable references to the objects that manage that native memory become null and will throw a null pointer exception if one attempts to use them):
Is it really a big deal if this occurs once and only once during the entire life cycle of the app?
Won't the memory eventually be overwritten and thus reclaimed anyway?
I understand it is a bad practice to allow memory leakage. Frankly, I fully understand this. However, I also know that there are rare occasions when a rule should be broken (to paraphrase Joshua Bloch's words from Effective Java). Respectfully, I don't want to get into a discussion about why I am doing this, I only seek an answer to this specific problem.
Thank You!!! Chris