couple more use after frees for gear deletion.
also rearranged lines a bit and added a redundant exit to try to proof things a bit.
more evidence we need rust.
//! PhysFS bindings for Rust
#![deny(missing_docs)]
extern crate libc;
pub use physfs::*;
pub use physfs::file::*;
/// PhysFS bindings
mod physfs;
/// Definitions for the PhysFS primitives
mod primitives;