common/iobuf.c: Don't abort freeing a pipeline if freeing a filter fails
authorNeal H. Walfield <neal@g10code.com>
Thu, 13 Aug 2015 08:08:32 +0000 (10:08 +0200)
committerNeal H. Walfield <neal@g10code.com>
Thu, 20 Aug 2015 12:16:21 +0000 (14:16 +0200)
commit1f94646a86348128f585301fcd605e5e703fd77d
tree19459acea2939ae39834f2f8c1c01a3b405fa7f4
parenta250f73783c06d7789ac65a395d9247f4ab44c26
common/iobuf.c: Don't abort freeing a pipeline if freeing a filter fails

* common/iobuf.c (iobuf_cancel): Don't abort freeing a pipeline if
freeing a filter fails.  This needs to a memory leak.  Instead, keep
freeing and return the error code of the first filter that fails.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
common/iobuf.c