Commit da3dd523 authored by Robert Edmonds's avatar Robert Edmonds

GenerateMessageDescriptor(): free field_indices, Coverity #1153644

parent 92b31528
......@@ -439,6 +439,7 @@ GenerateMessageDescriptor(io::Printer* printer) {
printer->Print(vars, " $index$, /* field[$index$] = $name$ */\n");
}
printer->Print("};\n");
delete[] field_indices;
// create range initializers
int *values = new int[descriptor_->field_count()];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment