Update strdup wrapper for current dmalloc version
This commit is contained in:
1 parent
3ff8a2666d
commit
9567fc1074
1 file changed
+1
-1
@@ -84,7 +84,7 @@
|
||||
#ifdef DMALLOC
|
||||
/* linux has its own strdup macro, make sure we use dmalloc's */
|
||||
#define sigar_strdup(s) \
|
||||
dmalloc_strdup(__FILE__, __LINE__, s, 0);
|
||||
dmalloc_strndup(__FILE__, __LINE__, (s), -1, 0)
|
||||
#else
|
||||
# ifdef WIN32
|
||||
# define sigar_strdup(s) _strdup(s)
|
||||
|
||||
Reference in new issue
Block a user