aboutsummaryrefslogtreecommitdiffstats
path: root/str_intern.c
diff options
context:
space:
mode:
Diffstat (limited to 'str_intern.c')
-rw-r--r--str_intern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/str_intern.c b/str_intern.c
index 421da70..78c6413 100644
--- a/str_intern.c
+++ b/str_intern.c
@@ -243,7 +243,7 @@ str_intern(const char *s)
if (e != NULL) {
intern_allocations_saved++;
- intern_bytes_saved += strlen(s);
+ intern_bytes_saved += memo_strlen(e->s);
return str_ref(e->s);
}