commit | e291dc123a8a6eaaa6a45b52aed947dfa80834f2 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Mar 13 21:50:34 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Mar 13 21:50:34 2007 +0100 |
tree | 35b84b0728b07ac04b8e1d2f0c53c5f35db52011 | |
parent | 8ab538730857ce3a29c5f00fb55b967468751ec9 [diff] [blame] |
Fix double io_u free in error path Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/io_u.c b/io_u.c index fead400..e96d495 100644 --- a/io_u.c +++ b/io_u.c
@@ -487,7 +487,7 @@ if (!f || (ret = td_io_open_file(td, f))) { put_io_u(td, io_u); - break; + return NULL; } goto set_file; }