Re: [PATCH] dict double free

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Centrium GmbH
Message-ID <[email protected]>
commited to cvs.
Thanks a lot!

On Friday 23 January 2004 13:36, Benjamin Lee wrote:
> Using one of my favourite tools, valgrind, I found a double free in the use
> of the dict structure. See attached patch against CVS.
>
> The double free occurs because the dict data destroy function is called on
> the boxc_id pointer when the dict structures are destroyed during shutdown
> in:
>
> gw/bb_boxc.c
> smsboxc_run()
> by dict_destroy
>
> It's only a very minor memory handling _problem_.
>
> Cheers,
> Ben.

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___________________________________________

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: [email protected]
web: www.centrium.de
msn: [email protected]
icq: 98063111
___________________________________________

Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.