From 33be1ecfb1a9056b027d50d7b558cff87c5b744d Mon Sep 17 00:00:00 2001 From: KUDr Date: Thu, 11 Jan 2007 17:29:39 +0000 Subject: (svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter --- src/win32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/win32.cpp') diff --git a/src/win32.cpp b/src/win32.cpp index 423581467..b41204a9d 100644 --- a/src/win32.cpp +++ b/src/win32.cpp @@ -636,7 +636,7 @@ static inline DIR *dir_calloc(void) DIR *d; if (_global_dir_is_in_use) { - CallocT(&d, 1); + d = CallocT(1); } else { _global_dir_is_in_use = true; d = &_global_dir; -- cgit v1.2.3-54-g00ecf