OpenPTV / openptv

This is our central repository, holding only the community approved code and documentation
www.openptv.net
GNU Lesser General Public License v3.0
37 stars 28 forks source link

fix orientation bug in the missing pointer release #123

Closed alexlib closed 8 years ago

alexlib commented 8 years ago

added Yosef suggested fix to the missing pointer and added a test for it. At least on Mac, the test fails within the master branch with

12: 80%: Checks: 5, Failures: 0, Errors: 1 12: /Users/alex/Documents/OpenPTV/alexlib/liboptv/tests/check_orientation.c:28:E:Raw orientation:test_raw_orient:0: (after this point) Received signal 6 (Abort trap: 6)

yosefm commented 8 years ago

I'm for merging.