1
0
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:
Zdenek Kabelac 2017-06-30 19:36:24 +02:00
parent ad286a3227
commit 3d08b0971f

View File

@ -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;
}