Fixes error handling in do_pipe()
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 20 Aug 2013 19:43:44 +0000 (12:43 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 20 Aug 2013 19:43:44 +0000 (12:43 -0700)
commit0a908005252a31bc7f1ae960f0fe5f28e9a80f62
treefc67fa68ee8074294d835009edbd423bdb74ea5e
parentd1627fc9a141f376a42cdc4754394dacb1748210
Fixes error handling in do_pipe()

Was leaking memory if we failed to create files for each end of the pipe.
kern/src/vfs.c