diff --git a/system-command/windows.dart b/system-command/windows.dart index 3e3acae3b..1f270ac86 100644 --- a/system-command/windows.dart +++ b/system-command/windows.dart @@ -55,6 +55,7 @@ int shellExecute(String operation, String file) { ffi.nullptr, operationP, fileP, ffi.nullptr, ffi.nullptr, SW_SHOWNORMAL); calloc.free(operationP); calloc.free(fileP); + calloc.free(fileP); return result; }