mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
fix #126844. freeing mismatched memory. thanks to pj@ludd.luth.se for the fix.
r/sr=sspitzer
This commit is contained in:
parent
3d2fc538fe
commit
6a0dda7cf5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user