summaryrefslogtreecommitdiff
path: root/upb/pb/glue.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/pb/glue.h')
-rw-r--r--upb/pb/glue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/upb/pb/glue.h b/upb/pb/glue.h
index 014562b..8f570bc 100644
--- a/upb/pb/glue.h
+++ b/upb/pb/glue.h
@@ -31,7 +31,8 @@ extern "C" {
#endif
/* Loads a binary descriptor and returns a NULL-terminated array of unfrozen
- * filedefs. The caller owns the returned array. */
+ * filedefs. The caller owns the returned array, which must be freed with
+ * upb_gfree(). */
upb_filedef **upb_loaddescriptor(const char *buf, size_t n, const void *owner,
upb_status *status);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback