diff options
Diffstat (limited to 'core/upb_string.c')
-rw-r--r-- | core/upb_string.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/upb_string.c b/core/upb_string.c index e9ff0d9..c599728 100644 --- a/core/upb_string.c +++ b/core/upb_string.c @@ -67,6 +67,7 @@ void upb_string_recycle(upb_string **_str) { str->ptr = NULL; upb_string_release(str); } else { + upb_string_unref(str); *_str = upb_string_new(); } } |