forked from enlightenment/enlightenment
Add safety check when freeing dnd handler.
SVN revision: 73010
This commit is contained in:
parent
04acb74d8b
commit
b3011b6f45
|
@ -408,6 +408,9 @@ e_drop_handler_del(E_Drop_Handler *handler)
|
|||
{
|
||||
unsigned int i;
|
||||
|
||||
if (!handler)
|
||||
return;
|
||||
|
||||
_drop_handlers = eina_list_remove(_drop_handlers, handler);
|
||||
for (i = 0; i < handler->num_types; i++)
|
||||
eina_stringshare_del(handler->types[i]);
|
||||
|
|
Loading…
Reference in New Issue