projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a2ba41e
)
init: fix leak bug fix from commit 60c5ec73
author
Jens Axboe
<axboe@fb.com>
Mon, 14 Apr 2014 19:29:52 +0000
(13:29 -0600)
committer
Jens Axboe
<axboe@fb.com>
Mon, 14 Apr 2014 19:29:52 +0000
(13:29 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
init.c
patch
|
blob
|
blame
|
history
diff --git
a/init.c
b/init.c
index fcc135e65eaf1f2f721f310aa8d6355c1331967d..569ad858af784ff8920f10ada65ed64458ad1278 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-1938,8
+1938,8
@@
int parse_cmd_line(int argc, char *argv[], int client_type)
backend = 1;
break;
case 'D':
- if (
optarg
)
- free(
optarg
);
+ if (
pid_file
)
+ free(
pid_file
);
pid_file = strdup(optarg);
break;
case 'I':