Fix leak of 'error' if we don't assign it

Signed-off-by: Jens Axboe <axboe@fb.com>
Fix directory leak in recurse_dir() on error

Signed-off-by: Jens Axboe <axboe@fb.com>
Fix leak of string when doing parse dryrun

Signed-off-by: Jens Axboe <axboe@fb.com>
Fix leak of file descriptor in error path of bc_calc()

Signed-off-by: Jens Axboe <axboe@fb.com>
Fix leak on error path in extend_file()

Signed-off-by: Jens Axboe <axboe@fb.com>
net: fix leak of fd in bind() error path

Signed-off-by: Jens Axboe <axboe@fb.com>
Fix leak of directory handle in find_add_disk_slaves() error case

Signed-off-by: Jens Axboe <axboe@fb.com>
Fix potentially unterminated string after strncpy() call

Signed-off-by: Jens Axboe <axboe@fb.com>
Ensure that fread() string is always NULL terminated

Signed-off-by: Jens Axboe <axboe@fb.com>
server: ensure that server pid file mem is always freed

Signed-off-by: Jens Axboe <axboe@fb.com>
Don't leak memory if profile option is given twice

Signed-off-by: Jens Axboe <axboe@fb.com>
Don't leak f_out file desciptor if specified more than once

Signed-off-by: Jens Axboe <axboe@fb.com>
init: remove bogus check for NULL parent

Signed-off-by: Jens Axboe <axboe@fb.com>