Skip to content

Commit

Permalink
Merge branch '1.7.X' into 1.8.X
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezsieira committed Mar 26, 2018
2 parents b6cf808 + 684ac6d commit dc9e65f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions joctomap-natives/src/messages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ JNIEXPORT jobject JNICALL Java_es_usc_citius_lab_joctomap_ros_Messages_convert
}
}
jobject jtree = env->NewObject(jclassJoctree, constructor, tree);
//clear memory
delete [] buf;
return jtree;
}
else{
Expand Down

0 comments on commit dc9e65f

Please sign in to comment.