Fix WriteMemoryListStream to remove an extraneous loop index variable increment.

Patch by timeless <timeless@mozdev.org>, R=me, unittest by me.
See https://bugzilla.mozilla.org/show_bug.cgi?id=615534

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@735 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
ted.mielczarek 2010-11-30 19:19:31 +00:00
parent ccc2446863
commit 30b075c4a5
2 changed files with 62 additions and 2 deletions

View file

@ -641,7 +641,7 @@ bool MinidumpGenerator::WriteMemoryListStream(
unsigned int i;
for (i = 0; i < memory_count; ++i) {
list.CopyIndexAfterObject(i++, &memory_blocks_[i],
list.CopyIndexAfterObject(i, &memory_blocks_[i],
sizeof(MDMemoryDescriptor));
}