summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-09 17:05:17 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-09 17:10:40 +0100
commit33203a976404a8123101eef80e951cad1be1d55f (patch)
tree2ff2962d3117f887dcb2e43d703c45bc977c232e /src
parentb97c051e6f6ed08c8c828f0769eb1758c022bd00 (diff)
ecore_evas: only free content when content is != NULL
otherwise we might run into issues with that.
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index ab28af1a2f..d6d6afd8c2 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -5588,7 +5588,7 @@ ecore_evas_selection_set(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection
5588 //keep this after the claim, the claim might call cancel, which would overwrite this. 5588 //keep this after the claim, the claim might call cancel, which would overwrite this.
5589 buffers->selection_buffer[buffer] = content; 5589 buffers->selection_buffer[buffer] = content;
5590 } 5590 }
5591 else 5591 else if (content)
5592 { 5592 {
5593 eina_content_free(content); 5593 eina_content_free(content);
5594 } 5594 }