summaryrefslogtreecommitdiff
path: root/source/gprf/gprf-doc.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-09-16 22:41:03 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-09-16 23:34:27 +0800
commit8db74090229182af364fb4cb0dbde760feb66230 (patch)
tree8812ccc41355de7ad75e4f9b4616dcbe2e0b2642 /source/gprf/gprf-doc.c
parenta60deabec14935d20707b39e7ce65d83f3bcbb0b (diff)
downloadmupdf-8db74090229182af364fb4cb0dbde760feb66230.tar.xz
JNI: Handle the case where an object's native pointer is NULL.
If Java code creates e.g. a Document object and later calls Document.destroy() and then keeps using the Document object the library would end up crashing because the native pointer was null. This case rather special case is now handled.
Diffstat (limited to 'source/gprf/gprf-doc.c')
0 files changed, 0 insertions, 0 deletions