Commit 92b31528 authored by Robert Edmonds's avatar Robert Edmonds

GenerateEnumDescriptor(): free value_index, Coverity #1153645

parent fb44851b
...@@ -286,6 +286,7 @@ void EnumGenerator::GenerateEnumDescriptor(io::Printer* printer) { ...@@ -286,6 +286,7 @@ void EnumGenerator::GenerateEnumDescriptor(io::Printer* printer) {
" NULL,NULL,NULL,NULL /* reserved[1234] */\n" " NULL,NULL,NULL,NULL /* reserved[1234] */\n"
"};\n"); "};\n");
delete[] value_index;
delete[] name_index; delete[] name_index;
} }
......
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