Print this page
smatch clean rtld
*** 1007,1017 ****
* Determine whether this pathname has already been recorded.
*/
if (pnavl_recorded(&capavl, name, hash, &where))
continue;
! if ((pnp = calloc(sizeof (PathNode), 1)) != NULL) {
pnp->pn_name = name;
pnp->pn_hash = hash;
avl_insert(capavl, pnp, where);
}
}
--- 1007,1017 ----
* Determine whether this pathname has already been recorded.
*/
if (pnavl_recorded(&capavl, name, hash, &where))
continue;
! if ((pnp = calloc(1, sizeof (PathNode))) != NULL) {
pnp->pn_name = name;
pnp->pn_hash = hash;
avl_insert(capavl, pnp, where);
}
}