When I run my application, the debugger stops at  " MemPtrFree(aux1); "  for
no reason. It acts like it has a breakpoint. But when I hit F10 (Step Over)
it continues in the same line and doesn't move no more.

This is a piece of my code:

char *aux1, *aux2;

for (i=recordNum+1; i< numRecords; i++)
{
    aux1=MemPtrNew(StrLen(Registos[recordNum]));
    aux2=MemPtrNew(StrLen(Registos[i]));

    aux1=norm(aux1, Registos[recordNum]);
    aux2=norm(aux2, Registos[i]);

    sim=simil(aux1, aux2, NULL);

    MemPtrFree(aux1);   <===== it stops here when "i" is 18
    MemPtrFree(aux2);
}

Can anyone help me?

Thanks.

--
Nuno Basto



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to