Commit 5a43922c authored by Robert Edmonds's avatar Robert Edmonds

GenerateServiceDescriptor(): free mi_array, Coverity #1153647

parent aae02aa0
...@@ -235,6 +235,8 @@ void ServiceGenerator::GenerateServiceDescriptor(io::Printer* printer) ...@@ -235,6 +235,8 @@ void ServiceGenerator::GenerateServiceDescriptor(io::Printer* printer)
" $lcfullname$__method_descriptors,\n" " $lcfullname$__method_descriptors,\n"
" $lcfullname$__method_indices_by_name\n" " $lcfullname$__method_indices_by_name\n"
"};\n"); "};\n");
delete[] mi_array;
} }
void ServiceGenerator::GenerateCallersImplementations(io::Printer* printer) void ServiceGenerator::GenerateCallersImplementations(io::Printer* printer)
......
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