Don't leak stuff or leave incomplete objects in the store on errors.
Don't leak stuff or leave incomplete objects in the store on errors.

darcs-hash:20080330124329-9beca-16e57a243a1730afadabb3eee40409ba2958c458.gz

nqv/mupdf,nqv/mupdf,nqv/mupdf,nqv/mupdf,nqv/mupdf,nqv/mupdf