Re: svn commit: r205118 - head/sbin/sysctl

2010-03-14 Thread Bruce Evans
On Sat, 13 Mar 2010, Garrett Cooper wrote: Log: ?Free the memory allocated via strdup. Why bother? 1. Memory is infinite :-). 2. Memory is infinite relative to sysctl's requirements, especially for this strdup. Normally this strdup is never reached. It is normally reached a whole 1 tim

Re: svn commit: r205118 - head/sbin/sysctl

2010-03-13 Thread Garrett Cooper
On Sat, Mar 13, 2010 at 1:13 PM, Garrett Cooper wrote: > On Sat, Mar 13, 2010 at 3:08 AM, Bruce Cran wrote: >> Author: brucec >> Date: Sat Mar 13 11:08:57 2010 >> New Revision: 205118 >> URL: http://svn.freebsd.org/changeset/base/205118 >> >> Log: >>  Free the memory allocated via strdup. >> >>  

Re: svn commit: r205118 - head/sbin/sysctl

2010-03-13 Thread Garrett Cooper
On Sat, Mar 13, 2010 at 3:08 AM, Bruce Cran wrote: > Author: brucec > Date: Sat Mar 13 11:08:57 2010 > New Revision: 205118 > URL: http://svn.freebsd.org/changeset/base/205118 > > Log: >  Free the memory allocated via strdup. > >  PR:           bin/113881 >  Submitted by: Alexander Drozdov  dzal_m