summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/String.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/String.cc b/lib/String.cc
index 674e3a3..aee7b8d 100644
--- a/lib/String.cc
+++ b/lib/String.cc
@@ -276,9 +276,7 @@ String String::extract(size_t from, ssize_t to) const {
char * String::strdup(size_t from, ssize_t to) const {
char * r;
- LOCK;
r = Base::strdup(to_charp(from, to));
- UNLOCK;
return r;
}