Fix for double free in KdTreeFLANN after copy operation #335.
Merge pull request #618 from jpajarin/master

Fix for double free in KdTreeFLANN after copy operation (closes #335)