On Jun 17, 2010, at 4:27 AM, Markdv wrote:

> 
> I just don't see why you wouldn't want to "fix" this. Seems like all you'd 
> have to do is add
> 
>    con->os->nextArg = _free(con->os->nextArg);
> 
> to poptFreeContext(poptContext con) and be done with it.
> 

There's a double free with your suggested "fix" if/when the application
has also free'd the memory returned.

73 de Jeff

______________________________________________________________________
POPT Library                                           http://rpm5.org
Developer Communication List                       popt-devel@rpm5.org

Reply via email to