I meant to check for an empty string as well as a null string. Really. r=mozbot.

This commit is contained in:
bryner%brianryner.com 2003-10-16 10:04:14 +00:00
parent 0e97dcab55
commit bb0bc1b268

View File

@ -122,7 +122,7 @@ static void DumpAddressMap()
malloc_map_entry mme;
link_map* map = _r_debug.r_map;
while (NULL != map) {
if (map->l_name) {
if (map->l_name && *map->l_name) {
mme.nameLen = strlen(map->l_name);
mme.address = map->l_addr;
write(mfd, &mme, sizeof(mme));