fix #126844. freeing mismatched memory. thanks to pj@ludd.luth.se for the fix.

r/sr=sspitzer
This commit is contained in:
sspitzer%netscape.com 2002-05-11 01:01:56 +00:00
parent 3d2fc538fe
commit 6a0dda7cf5

View File

@ -988,7 +988,7 @@ void nsTextAddress::AddLdifRowToDatabase(PRBool bIsList)
else
continue; // parse error: continue with next loop iteration
}
delete [] saveCursor;
nsMemory::Free(saveCursor);
m_database->AddCardRowToDB(newRow);
if (bIsList)