diff options
author | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-06-07 02:06:10 +0000 |
---|---|---|
committer | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-06-07 02:06:10 +0000 |
commit | a013e7e8da4aa2ce94c05fa3385ad6a1e49a365a (patch) | |
tree | e9e687533d2b4412a702b47c92659b2f7163e8ea /sys | |
parent | 4d89ee4eeb79b044af853b8b1bce3a9560f79d2b (diff) |
Don't free an uninitialized pointer. art@ ok
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/cardbus/rbus.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/cardbus/rbus.c b/sys/dev/cardbus/rbus.c index 1cb3ebc6b0c..0a315f3a25e 100644 --- a/sys/dev/cardbus/rbus.c +++ b/sys/dev/cardbus/rbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rbus.c,v 1.4 2002/03/14 01:26:53 millert Exp $ */ +/* $OpenBSD: rbus.c,v 1.5 2002/06/07 02:06:09 nordin Exp $ */ /* $NetBSD: rbus.c,v 1.3 1999/11/06 06:20:53 soren Exp $ */ /* * Copyright (c) 1999 @@ -288,7 +288,6 @@ rbus_new(parent, start, size, offset, flags) } else if (flags == RBUS_SPACE_DEDICATE) { if (NULL == (ex = extent_create("rbus", start, end, M_DEVBUF, NULL, 0, EX_NOCOALESCE|EX_NOWAIT))) { - free(rb, M_DEVBUF); return NULL; } } else if (flags == RBUS_SPACE_ASK_PARENT) { |