Plug memory leak
Reported by: coverity CID: 1331664, 1331665
This commit is contained in:
parent
0ce8c4a33c
commit
f734685ea4
@ -272,6 +272,7 @@ sesled(int argc, char **argv, bool setfault)
|
||||
}
|
||||
}
|
||||
}
|
||||
free(objp);
|
||||
close(fd);
|
||||
}
|
||||
globfree(&g);
|
||||
@ -424,6 +425,7 @@ objmap(int argc, char **argv __unused)
|
||||
sbuf_delete(extra);
|
||||
free(e_devname.elm_devnames);
|
||||
}
|
||||
free(e_ptr);
|
||||
close(fd);
|
||||
}
|
||||
globfree(&g);
|
||||
|
Loading…
Reference in New Issue
Block a user