Commit 0137aba56863634d81e407152df723d5ad4a97ce

Carlos Martín Nieto 2015-06-10T11:08:05

filter: close the descriptor in case of error When we hit an error writing to the next stream from a file, we jump to 'done' which currently skips over closing the file descriptor. Make sure to close the descriptor if it has been set to a valid value.