diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-01-22 01:03:02 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-01-22 01:03:02 -0800 |
commit | c9df91b04a429f9324afeefece28f21e7078e3ac (patch) | |
tree | 28f038af1ed47b0da2b49c78d8def02486da99fa /core/upb_string.c | |
parent | a695b92ccea4b82180ae45d21d7ed4445f7d0769 (diff) |
upb bootstraps again! and with no memory leaks!
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(); } } |