From dd18710bb74575e2edfce697f4e9f81b9255e595 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 17 Sep 2020 20:02:38 +0200 Subject: selection: primary unset: don’t free text twice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- selection.c | 1 - 1 file changed, 1 deletion(-) (limited to 'selection.c') diff --git a/selection.c b/selection.c index f1129b03..78811af3 100644 --- a/selection.c +++ b/selection.c @@ -705,7 +705,6 @@ selection_primary_unset(struct seat *seat) zwp_primary_selection_device_v1_set_selection( seat->primary_selection_device, NULL, primary->serial); zwp_primary_selection_source_v1_destroy(primary->data_source); - free(primary->text); primary->data_source = NULL; primary->serial = 0; -- cgit v1.3