diff --git a/protobuf-native/CHANGELOG.md b/protobuf-native/CHANGELOG.md index 68711ef8..3207db35 100644 --- a/protobuf-native/CHANGELOG.md +++ b/protobuf-native/CHANGELOG.md @@ -9,6 +9,8 @@ Versioning]. ## [Unreleased] +* Fix linking by adding the `DeleteCodedOutputStream` function + ## [0.2.1+3.19.1] - 2022-01-18 * Fix the file descriptor traversal in diff --git a/protobuf-native/src/io.cc b/protobuf-native/src/io.cc index 0710d2f1..01ee3957 100644 --- a/protobuf-native/src/io.cc +++ b/protobuf-native/src/io.cc @@ -108,5 +108,7 @@ CodedInputStream* NewCodedInputStream(ZeroCopyInputStream* input) { void DeleteCodedInputStream(CodedInputStream* stream) { delete stream; } +void DeleteCodedOutputStream(CodedOutputStream* stream) { delete stream; } + } // namespace io } // namespace protobuf_native