Hi,

* Ivan Skytte Jørgensen wrote (2007-12-30 22:44):
>On Sunday 30 December 2007 19:41:06 Thorsten Haude wrote:
>> Shouldn't we unroll the for loop? There may already be malloced matches.
>
>You are right. entries [0..i[ must be free()'ed

This should do it:
    for (j = i - 1; j > -1; j--) {
        free(dupTagsList[j])
    }
    free(dupTagsList);


Thorsten                                  Kristin Hersh: Hysterical Bending
-- 
People who thinks quotes are witty are fucking morons.
    - turmeric

Attachment: pgpGAFd73gIY2.pgp
Description: PGP signature

-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to