Skip to content

st/entry: Fix leak when copying or cutting text using shortcuts

Sebastian Keller requested to merge skeller/gnome-shell:st-entry-leak into master

clutter_text_get_selection() creates a copy of the selected text which gets passed to st_clipboard_set_text() which creates its own copy. The copy returned by clutter_text_get_selection() however never got free'd.

Merge request reports