Date: Fri, 28 Apr 2006 05:48:58 GMT From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 96285 for review Message-ID: <200604280548.k3S5mwMj009243@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96285 Change 96285 by marcel@marcel_nfs on 2006/04/28 05:48:28 Make sure to free the rman descriptions in all cases. Affected files ... .. //depot/projects/uart/dev/puc/puc.c#40 edit Differences ... ==== //depot/projects/uart/dev/puc/puc.c#40 (text+ko) ==== @@ -419,8 +419,11 @@ } rman_fini(&sc->sc_irq); + free(__DECONST(void *, sc->sc_irq.rm_descr), M_PUC); rman_fini(&sc->sc_iomem); + free(__DECONST(void *, sc->sc_iomem.rm_descr), M_PUC); rman_fini(&sc->sc_ioport); + free(__DECONST(void *, sc->sc_ioport.rm_descr), M_PUC); free(sc->sc_port, M_PUC); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604280548.k3S5mwMj009243>