Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 08:02:47 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/fdc fdc_isa.c
Message-ID:  <200503150802.j2F82lKW038080@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2005-03-15 08:02:47 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/fdc          fdc_isa.c 
  Log:
  If we fail a sanity check for the resources just allocated, make sure
  that we free that resource.  All the other resources are freed in
  their own routine, but since we haven't saved a pointer to this one,
  it is leaked.  This is the failure case that lead to the sio ports
  that weren't working, I think.
  
  Revision  Changes    Path
  1.22      +3 -1      src/sys/dev/fdc/fdc_isa.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503150802.j2F82lKW038080>