|
From: <sv...@va...> - 2014-09-27 17:08:30
|
Author: florian
Date: Sat Sep 27 18:08:23 2014
New Revision: 14578
Log:
Fix an oversight (in r14577) in the darwin-specific part of
VG_(record_startup_wd)
Modified:
branches/BUF_REMOVAL/coregrind/m_libcfile.c
Modified: branches/BUF_REMOVAL/coregrind/m_libcfile.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_libcfile.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_libcfile.c Sat Sep 27 18:08:23 2014
@@ -471,7 +471,7 @@
if (wd == NULL)
return False;
SizeT need = VG_(strlen)(wd) + 1;
- startup_wd = VG_(malloc)(VG_AR_CORE, "startup_wd", need);
+ startup_wd = VG_(malloc)("startup_wd", need);
VG_(strcpy)(startup_wd, wd);
startup_wd_acquired = True;
return True;
|