integrate dmalloc.h

This commit is contained in:
Doug MacEachern committed 2005-11-09 18:26:10 +00:00
1 parent 94d3d82aab
commit 100aed0cb3
3 files changed
+16 -2

No files matched your search

+1 -1
View File
@@ -1021,7 +1021,7 @@ static char *get_fsdev(sigar_t *sigar,
ptr = fsp->dev_name;
if (strnEQ(ptr, "/dev/", 5)) {
ptr += 5;
ent->value = strdup(ptr);
ent->value = sigar_strdup(ptr);
continue;
}
+2 -1
View File
@@ -1347,7 +1347,8 @@ int sigar_net_interface_list_get(sigar_t *sigar,
}
# endif
#endif
iflist->data[iflist->number++] = strdup(ifr->ifr_name);
iflist->data[iflist->number++] =
sigar_strdup(ifr->ifr_name);
}
return SIGAR_OK;