set gp_devs and gp_nrofdevs to 0 after free, otherwise we reuse the freed area
set gp_devs and gp_nrofdevs to 0 after free, otherwise
we reuse the freed area


fape/libgphoto2,fape/libgphoto2,fape/libgphoto2,fape/libgphoto2