mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cov: better handle reallocation of adapt_file
If the option would be given more then once.
This commit is contained in:
parent
ce907bcd26
commit
376e707232
@ -6305,6 +6305,7 @@ int main(int argc, char *argv[])
|
||||
case '0':
|
||||
break;
|
||||
case 128:
|
||||
free((void *) adopt_file);
|
||||
adopt_file = strdup(optarg);
|
||||
break;
|
||||
case 'h':
|
||||
|
Loading…
Reference in New Issue
Block a user