[PATCH] Fixed memory leak in list.c

Donald Jackson <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi everyone,

Please see the attached patch which fixes a rare memory leak in list.c 

When the destroy is called, it extracts until a NULL is found, which may not necessarily be the last item in the list as gwlist allows you to add NULL items to it.

You will see why from my next patch :)

Thanks,
Donald

www.panaceamobile.com
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.