mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
There is no reason to "stracpy" already allocated string.
This commit is contained in:
parent
095e440270
commit
bf3faa5c2b
@ -294,7 +294,7 @@ js_window_open(struct SEE_interpreter *interp, struct SEE_object *self,
|
||||
if (deo) {
|
||||
deo->ses = ses;
|
||||
deo->uri = get_uri_reference(uri);
|
||||
deo->target = stracpy(target);
|
||||
deo->target = target;
|
||||
/* target will be freed in delayed_goto_uri_frame */
|
||||
register_bottom_half(delayed_goto_uri_frame, deo);
|
||||
goto end;
|
||||
|
Loading…
Reference in New Issue
Block a user