From 4a65a6353258fd00389c47ef601bc63f7d6ef468 Mon Sep 17 00:00:00 2001 From: Parth Sharma <86726240+parth-deepsource@users.noreply.github.com> Date: Tue, 10 Sep 2024 15:24:44 +0530 Subject: [PATCH] Update windows.dart --- system-command/windows.dart | 1 + 1 file changed, 1 insertion(+) 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; }