Decrease reference counter for CameraFile object.
Definition at line 167 of file gphoto2-file.c. References CHECK_NULL, CHECK_RESULT, gp_file_free(), and GP_OK. Referenced by gp_camera_file_get_info(), gp_filesystem_get_file(), and gp_filesystem_set_file_noop(). { CHECK_NULL (file); file->ref_count -= 1; if (file->ref_count == 0) CHECK_RESULT (gp_file_free (file)); return (GP_OK); }
|