mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-25 21:57:45 +03:00
man_generator: release buffer after use
Although ATM this code has no memory management at all, it will not make any harm to release some memory, when it's not needed anymore.
This commit is contained in:
parent
ad286a3227
commit
3d08b0971f
@ -2279,6 +2279,7 @@ static void print_val_man(struct command_name *cname, int opt_enum, int val_enum
|
||||
else
|
||||
printf("\\fB%s\\fP", line_argv[i]);
|
||||
}
|
||||
dm_free(line);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user