You should always do a "nifti_image_free" on a nifti image pointer.