added some missing frees that could lead to memleaks (Coverity)
added some missing frees that could lead to memleaks (Coverity)

gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2