make jpeg buffer free safer
make jpeg buffer free safer

possible race in free

jcupitt/libvips,lovell/libvips,lovell/libvips,lovell/libvips,jcupitt/libvips,jcupitt/libvips,jcupitt/libvips,lovell/libvips