diff options
author | Hennes Rohling <hro@openoffice.org> | 2001-10-19 13:29:10 +0000 |
---|---|---|
committer | Hennes Rohling <hro@openoffice.org> | 2001-10-19 13:29:10 +0000 |
commit | 2825cb338259039e98d398f1add73a0251f7354b (patch) | |
tree | 9360ef910c1653f55ec1d3a14054a0eca394486b /sal | |
parent | 10a6a47bb44f970f9a4d8bb2ffe9f4e9653f3349 (diff) |
#90353# Replaced malloc() and free() occurances
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/process.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/osl/w32/process.c b/sal/osl/w32/process.c index fa723c610af7..46a96797c343 100644 --- a/sal/osl/w32/process.c +++ b/sal/osl/w32/process.c @@ -2,9 +2,9 @@ * * $RCSfile: process.c,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: hro $ $Date: 2001-09-24 13:49:15 $ + * last change: $Author: hro $ $Date: 2001-10-19 14:29:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -534,7 +534,7 @@ oslProcess SAL_CALL osl_getProcess(oslProcessIdentifier Ident) if (hProcess = OpenProcess(STANDARD_RIGHTS_REQUIRED | PROCESS_QUERY_INFORMATION | SYNCHRONIZE, FALSE, (DWORD)Ident)) { - pProcImpl = malloc(sizeof(oslProcessImpl)); + pProcImpl = rtl_allocateMemory(sizeof(oslProcessImpl)); pProcImpl->m_hProcess = hProcess; pProcImpl->m_IdProcess = Ident; } @@ -552,7 +552,7 @@ void SAL_CALL osl_freeProcessHandle(oslProcess Process) { CloseHandle(((oslProcessImpl*)Process)->m_hProcess); - free((oslProcessImpl*)Process); + rtl_freeMemory((oslProcessImpl*)Process); } } |