Explorar el Código

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

SongZihuan hace 3 años
padre
commit
b57f0380af
Se han modificado 1 ficheros con 1 adiciones y 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;
 }