Remove useless check for NULL prior to free.
Approved by: cperciva MFC after: 2 weeks
This commit is contained in:
parent
6dd12d609d
commit
dd0944c119
@ -50,7 +50,6 @@ bm_alloc(int size)
|
||||
void
|
||||
bm_dealloc(struct bitmap * bm)
|
||||
{
|
||||
if (bm->map)
|
||||
free(bm->map);
|
||||
}
|
||||
|
||||
|
@ -274,7 +274,6 @@ pw_group(struct userconf * cnf, int mode, struct cargs * args)
|
||||
|
||||
pw_log(cnf, mode, W_GROUP, "%s(%ld)", grp->gr_name, (long) grp->gr_gid);
|
||||
|
||||
if (members)
|
||||
free(members);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
|
Loading…
x
Reference in New Issue
Block a user