Explorar o código

fix: 解决CommandLine模式内存泄漏问题

SongZihuan %!s(int64=3) %!d(string=hai) anos
pai
achega
b57f0380af
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/main.c

+ 1 - 0
src/main.c

@@ -280,6 +280,7 @@ static int mainCL(ff_FFlags *ff) {
 
     destructAFunEnvironment(env);
     freeAllRunList(rl);
+    free(argv);
     return exit_code;
 }