cvs commit: src/sys/dev/fdc fdc_isa.c

Warner Losh imp at FreeBSD.org
Tue Mar 15 00:02:48 PST 2005


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


More information about the cvs-src mailing list