}
eina_stringshare_del(_xdnd->type);
- free(_xdnd);
- _xdnd = NULL;
+ E_FREE(_xdnd);
}
return 1;
}
if (_type_text_uri_list == _xdnd->type)
{
- Ecore_X_Selection_Data_Files *files;
+ Ecore_X_Selection_Data_Files *files;
Eina_List *l = NULL;
files = ev->data;
Eina_List *l = NULL;
char file[PATH_MAX];
char *text;
- int i, size;
+ int size;
data = ev->data;
text = (char *)data->data;
* the drop property... */
ecore_x_dnd_send_finished();
eina_stringshare_del(_xdnd->type);
- free(_xdnd);
- _xdnd = NULL;
+ E_FREE(_xdnd);
return 1;
}