Fix resource leak when using strdup(3).
Reported by: Coverity CID: 1357337 Sponsored by: iXsystems Inc.
This commit is contained in:
parent
93670f79d7
commit
250c472a8c
@ -319,6 +319,7 @@ pci_fbuf_parse_opts(struct pci_fbuf_softc *sc, char *opts)
|
||||
}
|
||||
|
||||
done:
|
||||
free(uopts);
|
||||
return (ret);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user