On Tue, Sep 17, 2013 at 5:19 PM, Christopher Sean Morrison <brl...@mac.com> wrote: ... > You might know that a *free() needs to be called before all return > statements now, but that new dev that looks at the code in 5 years doesn't. > It's trivial to miss it during code review too, to see some block needs a > *free() sometimes years later. We weeded out hundreds of those cases that > Coverity detected last year, but there are more.
Are we allowed to use alloca? Seems like that might do the trick in this case (shouldn't be a whole lot of memory used for arg handling). -Tom ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel