diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-09-17 18:02:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-09-17 18:02:38 +0000 |
| commit | dd18710bb74575e2edfce697f4e9f81b9255e595 (patch) | |
| tree | 4f7bd4203fa4cd4417092cf67307226f8754451d | |
| parent | render: fix rounding errors when setting initial window size and scale != 1 (diff) | |
selection: primary unset: don’t free text twice
| -rw-r--r-- | selection.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |
