Document that protobuf_c_message_free_unpacked(NULL, ...) is allowed

This commit is contained in:
Richard Kettlewell 2017-02-25 19:46:36 +00:00
parent 9c4c8f6366
commit f06a172a91

2
protobuf-c/protobuf-c.h Normal file → Executable file
View File

@ -956,7 +956,7 @@ protobuf_c_message_unpack(
* protobuf_c_message_unpack().
*
* \param message
* The message object to free.
* The message object to free. May be NULL.
* \param allocator
* `ProtobufCAllocator` to use for memory deallocation. May be NULL to
* specify the default allocator.