efl_fileselector_entry: do not crash on a invalid model
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Sun, 26 Apr 2020 15:29:09 +0000 (17:29 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 5 May 2020 21:25:48 +0000 (06:25 +0900)
commit98876c74230e7f23961dcd286db0093a7daaf09b
tree22a9cde3bbc07c7b0863a81f179e6eac9eda518e
parent9aa6d078909f47fb43b27dd57fe9d09aef66ab08
efl_fileselector_entry: do not crash on a invalid model

something is happening during shutdown, when a fileselector was created
before. This is ending up in a strcmp to a NULL ptr, which crashes, with
the now, we ensure that we are not crashing anymore, when that is
happning.

TO solve this properly we should really fix the cause of a invalid model
beeing returned, however, i do not feel compftable doing that so short
before a release.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11762
src/lib/elementary/elc_fileselector_entry.c