[CMD] REPLACE: Fix a memory leak.

This commit is contained in:
Hermès Bélusca-Maïto 2020-07-25 01:00:06 +02:00
parent 1cb7e08522
commit 8cea82b14c
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -437,6 +437,7 @@ INT cmd_replace (LPTSTR param)
break;
default:
invalid_switch(arg[i]);
freep(arg);
return 0;
}
}