diff options
| author | Kazutaka YOKOTA <yokota@FreeBSD.org> | 1999-03-09 14:23:14 +0000 |
|---|---|---|
| committer | Kazutaka YOKOTA <yokota@FreeBSD.org> | 1999-03-09 14:23:14 +0000 |
| commit | 11b5621ee01c0604e8d1252efd067d043174ac54 (patch) | |
| tree | b03ab102e49a9274d8a8dcba700d2c8ef15ef766 | |
| parent | 7caa817b0e4c48f580dd6af0ac58a1f40beec10d (diff) | |
Notes
| -rw-r--r-- | sys/dev/fb/splash.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/fb/splash.c b/sys/dev/fb/splash.c index 1f3281e361a3..e8f9cf237cc9 100644 --- a/sys/dev/fb/splash.c +++ b/sys/dev/fb/splash.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: splash.c,v 1.1 1999/01/09 02:44:49 yokota Exp $ + * $Id: splash.c,v 1.2 1999/01/11 03:06:28 yokota Exp $ */ #include "splash.h" @@ -133,9 +133,10 @@ splash_register(splash_decoder_t *decoder) M_DEVBUF, M_NOWAIT); if (p == NULL) return ENOMEM; - if (decoder_set != NULL) + if (decoder_set != NULL) { bcopy(decoder_set, p, sizeof(*p)*decoders); - free(decoder_set, M_DEVBUF); + free(decoder_set, M_DEVBUF); + } decoder_set = p; i = decoders++; } |
