From f0322e2a0ebfca336049ab824f76204874257ba4 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 8 Oct 2009 10:33:32 -0700 Subject: This lock isn't necessary anymore, and it now produces deadlocks. --- lib/String.cc | 2 -- 1 file changed, 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; } -- cgit v1.2.3