fix luxonis/XLink#56 buy removing the duplicate decrement of sizeFoundDevices
I also caution that src\pc\PlatformDeviceSearch.c lines 89 and 120 are missing a dangerous scenario. If numFoundDevices > sizeFoundDevices that means that memory was overwritten/corrupted. That scenario must never occur. This PR does not address that danger.
fix luxonis/XLink#56 buy removing the duplicate decrement of
sizeFoundDevices
I also caution that
src\pc\PlatformDeviceSearch.c
lines 89 and 120 are missing a dangerous scenario. IfnumFoundDevices > sizeFoundDevices
that means that memory was overwritten/corrupted. That scenario must never occur. This PR does not address that danger.