  RDEP_BEOS := $(addprefix beos/res/,$(RDEP_BEOS))			\
  	$(wildcard beos/res/Icons/*.png)				\
  	$(wildcard beos/res/throbber/throbber*.png)
-@@ -128,7 +127,7 @@ install-beos:
+@@ -126,7 +125,7 @@ install-beos:
  	@cp -vRL beos/res/beosdefault.css $(DESTDIR)$(NETSURF_BEOS_RESOURCES)
  	@cp -vRL gtk/res/license $(DESTDIR)$(NETSURF_BEOS_RESOURCES)
  #	@cp -vRL beos/res/throbber/*.png $(DESTDIR)$(NETSURF_BEOS_RESOURCES)throbber

+		delete dw->storageLock;
+	else
+		dw->storageLock->Unlock();
 }
 
diff --git a/beos/fetch_rsrc.cpp b/beos/fetch_rsrc.cpp
index 79dea4e..563f431 100644
--- a/beos/fetch_rsrc.cpp

 
   CFLAGS += -I. -O $(WARNFLAGS) -Dnsbeos		\
 		-D_BSD_SOURCE -D_POSIX_C_SOURCE		\
@@ -59,9 +61,8 @@
     # cross: Haiku ?
     NETLDFLAGS := -lnetwork
   endif
