svn commit: r273576 - head/sys/dev/uart
Marcelo Araujo
araujobsdport at gmail.com
Tue Oct 28 03:43:39 UTC 2014
Done: https://svnweb.freebsd.org/base?view=revision&revision=273761
Thank you guys!!!!
2014-10-25 0:14 GMT+08:00 John Baldwin <jhb at freebsd.org>:
> On Friday, October 24, 2014 05:39:32 AM Marcelo Araujo wrote:
> > Author: araujo (ports committer)
> > Date: Fri Oct 24 05:39:32 2014
> > New Revision: 273576
> > URL: https://svnweb.freebsd.org/changeset/base/273576
> >
> > Log:
> > Fix a leaked Storage Variable.
> >
> > Phabric: D981
> > Submitted by: myself
> > Reported by: Coverity
> > CID: 1248848
> > Reworked by: kevlo
> > Reviewed by: marcel, davide, ray, kevlo
> > Approved by: marcel, kevlo
> >
> > Modified:
> > head/sys/dev/uart/uart_subr.c
> >
> > Modified: head/sys/dev/uart/uart_subr.c
> >
> ==============================================================================
> > --- head/sys/dev/uart/uart_subr.c Fri Oct 24 04:01:14 2014
> (r273575)
> > +++ head/sys/dev/uart/uart_subr.c Fri Oct 24 05:39:32 2014
> (r273576)
> > @@ -196,7 +196,7 @@ out:
> > int
> > uart_getenv(int devtype, struct uart_devinfo *di, struct uart_class
> *class)
> > {
> > - const char *spec;
> > + const char *cp, *spec;
>
> Dropping const here is preferable to using __DECONST() for the freeenv()
> calls.
>
> --
> John Baldwin
>
--
--
Marcelo Araujo (__)araujo at FreeBSD.org
\\\'',)http://www.FreeBSD.org <http://www.freebsd.org/> \/ \ ^
Power To Server. .\. /_)
More information about the svn-src-all
mailing list