Alex Henrie : ucrtbase: Implement _free_base.
Alexandre Julliard
julliard at winehq.org
Fri Jun 17 10:35:01 CDT 2016
Module: wine
Branch: master
Commit: e4b8bc0edc640b36f2a2a26c53e18edea04fa74c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e4b8bc0edc640b36f2a2a26c53e18edea04fa74c
Author: Alex Henrie <alexhenrie24 at gmail.com>
Date: Thu Jun 16 18:02:25 2016 -0600
ucrtbase: Implement _free_base.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec | 2 +-
dlls/msvcrt/heap.c | 8 ++++++++
dlls/ucrtbase/ucrtbase.spec | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec b/dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec
index 6dbd207..418926e 100644
--- a/dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec
+++ b/dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec
@@ -9,7 +9,7 @@
@ cdecl _callnewh(long) ucrtbase._callnewh
@ cdecl _calloc_base(long long) ucrtbase._calloc_base
@ cdecl _expand(ptr long) ucrtbase._expand
-@ stub _free_base
+@ cdecl _free_base(ptr) ucrtbase._free_base
@ cdecl _get_heap_handle() ucrtbase._get_heap_handle
@ cdecl _heapchk() ucrtbase._heapchk
@ cdecl _heapmin() ucrtbase._heapmin
diff --git a/dlls/msvcrt/heap.c b/dlls/msvcrt/heap.c
index 5803f4a..8a84802 100644
--- a/dlls/msvcrt/heap.c
+++ b/dlls/msvcrt/heap.c
@@ -422,6 +422,14 @@ void CDECL MSVCRT_free(void* ptr)
}
/*********************************************************************
+ * _free_base (UCRTBASE.@)
+ */
+void CDECL _free_base(void* ptr)
+{
+ msvcrt_heap_free(ptr);
+}
+
+/*********************************************************************
* malloc (MSVCRT.@)
*/
void* CDECL MSVCRT_malloc(MSVCRT_size_t size)
diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec
index 551fcd7..ff21fb3 100644
--- a/dlls/ucrtbase/ucrtbase.spec
+++ b/dlls/ucrtbase/ucrtbase.spec
@@ -333,7 +333,7 @@
@ cdecl _fputwchar(long) MSVCRT__fputwchar
@ cdecl _fread_nolock(ptr long long ptr) MSVCRT__fread_nolock
@ cdecl _fread_nolock_s(ptr long long long ptr) MSVCRT__fread_nolock_s
-@ stub _free_base
+@ cdecl _free_base(ptr)
@ cdecl _free_locale(ptr) MSVCRT__free_locale
@ cdecl _fseek_nolock(ptr long long) MSVCRT__fseek_nolock
@ cdecl _fseeki64(ptr int64 long) MSVCRT__fseeki64
More information about the wine-cvs
mailing list