init: fix double free of pid_file
authorJens Axboe <axboe@fb.com>
Wed, 18 Jan 2017 15:18:28 +0000 (08:18 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 18 Jan 2017 15:18:28 +0000 (08:18 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
init.c

diff --git a/init.c b/init.c
index ae20d619018ea9847e8033522513c024375b3e36..324dc7bdb3bb5780fe537163fdc183a8bebe92bc 100644 (file)
--- a/init.c
+++ b/init.c
@@ -2717,9 +2717,6 @@ int parse_cmd_line(int argc, char *argv[], int client_type)
        }
 
 out_free:
        }
 
 out_free:
-       if (pid_file)
-               free(pid_file);
-
        return ini_idx;
 }
 
        return ini_idx;
 }