From 958b0d308d32918c3c3dc0fdb3be74ab1e4a7626 Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Wed, 18 Jan 2006 20:26:01 +0000 Subject: [PATCH] Re-introduce the stracpy in the correct place See commit 836744ea84154476641d18875be1c019ccc7b119 and commit bf3faa5c2b530204190f0cf3119b702ebb807d2e. --- src/ecmascript/spidermonkey/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ecmascript/spidermonkey/window.c b/src/ecmascript/spidermonkey/window.c index 3661caf09..4a6b17902 100644 --- a/src/ecmascript/spidermonkey/window.c +++ b/src/ecmascript/spidermonkey/window.c @@ -342,7 +342,7 @@ window_open(JSContext *ctx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) if (deo) { deo->ses = ses; deo->uri = get_uri_reference(uri); - deo->target = target; + deo->target = stracpy(target); register_bottom_half(delayed_goto_uri_frame, deo); boolean_to_jsval(ctx, rval, 1); goto end;