diff --git a/protobuf/runtime/src/com/google/protobuf/RepeatedField.m b/protobuf/runtime/src/com/google/protobuf/RepeatedField.m index 90a090af6d..766cf241cf 100644 --- a/protobuf/runtime/src/com/google/protobuf/RepeatedField.m +++ b/protobuf/runtime/src/com/google/protobuf/RepeatedField.m @@ -284,6 +284,7 @@ @interface CGPStringAsByteStringList : JavaUtilAbstractList { for (id object in list) { [result addObject:object]; } + RELEASE_(list); return result; }