mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-23 16:01:42 +00:00
Free our device information in one error case in the driver probe.
This commit is contained in:
parent
cba01a3fa6
commit
8d92e174b9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15743
@ -29,7 +29,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: aic7870.c,v 1.30 1996/05/10 16:26:41 gibbs Exp $
|
||||
* $Id: aic7870.c,v 1.31 1996/05/12 01:46:11 gibbs Exp $
|
||||
*/
|
||||
|
||||
#include <pci.h>
|
||||
@ -398,6 +398,7 @@ aic7870_attach(config_id, unit)
|
||||
default:
|
||||
{
|
||||
printf("ahc: Unknown controller type. Ignoring.\n");
|
||||
ahc_free(ahc);
|
||||
splx(opri);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user