|
From: <sv...@va...> - 2014-11-12 21:10:45
|
Author: philippe
Date: Wed Nov 12 21:10:37 2014
New Revision: 14715
Log:
Follow up 14714: use a real malloc cost centre instead of an empty string
Modified:
trunk/coregrind/m_main.c
Modified: trunk/coregrind/m_main.c
==============================================================================
--- trunk/coregrind/m_main.c (original)
+++ trunk/coregrind/m_main.c Wed Nov 12 21:10:37 2014
@@ -599,7 +599,7 @@
nextpos = startpos + VG_(strlen)(startpos);
if (startpos != nextpos) {
VG_(clo_error_markers)[m]
- = VG_(malloc)("", nextpos - startpos + 1);
+ = VG_(malloc)("main.mpclo.2", nextpos - startpos + 1);
VG_(memcpy)(VG_(clo_error_markers)[m], startpos,
nextpos - startpos);
VG_(clo_error_markers)[m][nextpos - startpos] = '\0';
|