From c6da9f012965acb8e5cfde1c2f7deb940d4f4d0e Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Sat, 21 Sep 2013 12:01:31 +0000 Subject: [PATCH] Fixed a memory leak. Author of fix - GerdtR. git-svn-id: svn://kolibrios.org@3920 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/libs-dev/libini/libini.asm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/programs/develop/libraries/libs-dev/libini/libini.asm b/programs/develop/libraries/libs-dev/libini/libini.asm index 029c83ac3e..1da2adfd28 100644 --- a/programs/develop/libraries/libs-dev/libini/libini.asm +++ b/programs/develop/libraries/libs-dev/libini/libini.asm @@ -397,6 +397,7 @@ endl invoke file.close, [f.fh] pop edi esi ebx + mcall 68,13,[f.buf] xor eax, eax ret @@ -790,6 +791,8 @@ endl lea ebx,[funcFile] mcall 70 + mcall 68,13,[begMem] + xor eax,eax pop esi edi ecx ebx ret