From dd18710bb74575e2edfce697f4e9f81b9255e595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 17 Sep 2020 20:02:38 +0200 Subject: [PATCH] =?UTF-8?q?selection:=20primary=20unset:=20don=E2=80=99t?= =?UTF-8?q?=20free=20text=20twice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- selection.c | 1 - 1 file changed, 1 deletion(-) 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;