Fix resource leak when using strdup(3).

Reported by:	Coverity
CID:		1357337
Sponsored by:	iXsystems Inc.
This commit is contained in:
Marcelo Araujo 2018-11-02 08:03:19 +00:00
parent 93670f79d7
commit 250c472a8c

View File

@ -319,6 +319,7 @@ pci_fbuf_parse_opts(struct pci_fbuf_softc *sc, char *opts)
}
done:
free(uopts);
return (ret);
}