Possible fix for memory leak in Java bindings
Merge branch 'dev/java-memory-leak-fix' into releases/1.0

* dev/java-memory-leak-fix:
  Possible fix for memory leak in Java bindings
Set version numbers for 1.0.5 release