Free NAL objects on error.
Merge pull request #75 from fancycode/free_nal_on_error

Free NAL objects on error.