fix probably NULL ic segv cause in efm

this SHOULD fix T933 if i could ever reproduce it...
This commit is contained in:
Carsten Haitzler 2014-02-11 14:49:23 +09:00
parent 0291edd719
commit ed5f83ab0b
1 changed files with 2 additions and 3 deletions

View File

@ -6670,7 +6670,7 @@ _e_fm2_cb_dnd_selection_notify(void *data, const char *type, void *event)
{
E_Fm2_Smart_Data *sd = data;
E_Event_Dnd_Drop *ev = event;
E_Fm2_Icon *ic;
E_Fm2_Icon *ic = NULL;
Eina_List *fsel, *l, *ll, *il, *isel = NULL;
char buf[PATH_MAX];
const char *fp;
@ -6857,8 +6857,7 @@ _e_fm2_cb_dnd_selection_notify(void *data, const char *type, void *event)
{
args = e_util_string_append_char(args, &size, &length, ' ');
if (!args) memerr = EINA_TRUE;
else if (ic)
ic->drag.hidden = EINA_TRUE;
else if (ic) ic->drag.hidden = EINA_TRUE;
}
}
eina_stringshare_del(fp);