diff options
author | Pixel <pixel@nobis-crew.org> | 2009-10-08 10:33:32 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-10-08 10:33:32 -0700 |
commit | f0322e2a0ebfca336049ab824f76204874257ba4 (patch) | |
tree | 590abb4ac549e27ba3f8266b7fbe1c0d2476310e | |
parent | 56d07c65e3966566c3e50045fc72f6a36ea0bcd6 (diff) |
This lock isn't necessary anymore, and it now produces deadlocks.
-rw-r--r-- | lib/String.cc | 2 |
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; } |