ecore_evas: only free content when content is != NULL

otherwise we might run into issues with that.
This commit is contained in:
Marcel Hollerbach 2020-03-09 17:05:17 +01:00
parent b97c051e6f
commit 33203a9764
1 changed files with 1 additions and 1 deletions

View File

@ -5588,7 +5588,7 @@ ecore_evas_selection_set(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection
//keep this after the claim, the claim might call cancel, which would overwrite this.
buffers->selection_buffer[buffer] = content;
}
else
else if (content)
{
eina_content_free(content);
}