diff --git a/src/session/task.c b/src/session/task.c index 115c9a42b..001dcd427 100644 --- a/src/session/task.c +++ b/src/session/task.c @@ -673,11 +673,7 @@ delayed_goto_uri_frame(void *data) if (frame) goto_uri_frame(deo->ses, deo->uri, frame->name, CACHE_MODE_NORMAL); else { - static unsigned char buf[256]; - - strncpy(buf, deo->target, 256); - buf[255] = '\0'; - goto_uri_frame(deo->ses, deo->uri, buf, CACHE_MODE_NORMAL); + goto_uri_frame(deo->ses, deo->uri, NULL, CACHE_MODE_NORMAL); } done_uri(deo->uri); mem_free(deo->target);