
11 Aug
2021
11 Aug
'21
3:45 a.m.
On Tue, Aug 10, 2021 at 19:14:39 +0200, Ján Tomko wrote:
Instead of using the same variable to store either a const pointer or an allocated string, always make a copy.
Signed-off-by: Ján Tomko <jtomko@redhat.com> --- tools/vsh.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
Reviewed-by: Peter Krempa <pkrempa@redhat.com>