diff options
Diffstat (limited to 'core/upb_string.c')
-rw-r--r-- | core/upb_string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/upb_string.c b/core/upb_string.c index c599728..bc5b772 100644 --- a/core/upb_string.c +++ b/core/upb_string.c @@ -56,7 +56,7 @@ static void upb_string_release(upb_string *str) { } void _upb_string_free(upb_string *str) { - if(str->cached_mem) free(str->cached_mem); + free(str->cached_mem); upb_string_release(str); free(str); } |