Commit fb44851b authored by Robert Edmonds's avatar Robert Edmonds

GenerateEnumDescriptor(): free name_index, Coverity #1153646

parent 5a43922c
......@@ -285,6 +285,8 @@ void EnumGenerator::GenerateEnumDescriptor(io::Printer* printer) {
" $lcclassname$__value_ranges,\n"
" NULL,NULL,NULL,NULL /* reserved[1234] */\n"
"};\n");
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