Do not free buffer after adding to paste (since it now owns it).

This commit is contained in:
nicm
2026-02-26 11:01:48 +00:00
parent 5ff385f8a9
commit dbb23d2182

View File

@@ -3156,7 +3156,6 @@ input_osc_52(struct input_ctx *ictx, const char *p)
notify_pane("pane-set-clipboard", wp); notify_pane("pane-set-clipboard", wp);
paste_add(NULL, out, outlen); paste_add(NULL, out, outlen);
} }
free(out);
} }
/* Handle the OSC 104 sequence for unsetting (multiple) palette entries. */ /* Handle the OSC 104 sequence for unsetting (multiple) palette entries. */