forked from enlightenment/enlightenment
Use E_FREE for _xdnd, created with E_NEW.
SVN revision: 40836
This commit is contained in:
parent
7c78ec900e
commit
15bfce009e
|
@ -1267,8 +1267,7 @@ _e_dnd_cb_event_dnd_leave(void *data, int type, void *event)
|
||||||
}
|
}
|
||||||
|
|
||||||
eina_stringshare_del(_xdnd->type);
|
eina_stringshare_del(_xdnd->type);
|
||||||
free(_xdnd);
|
E_FREE(_xdnd);
|
||||||
_xdnd = NULL;
|
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -1411,7 +1410,7 @@ _e_dnd_cb_event_dnd_selection(void *data, int type, void *event)
|
||||||
Eina_List *l = NULL;
|
Eina_List *l = NULL;
|
||||||
char file[PATH_MAX];
|
char file[PATH_MAX];
|
||||||
char *text;
|
char *text;
|
||||||
int i, size;
|
int size;
|
||||||
|
|
||||||
data = ev->data;
|
data = ev->data;
|
||||||
text = (char *)data->data;
|
text = (char *)data->data;
|
||||||
|
@ -1449,7 +1448,6 @@ _e_dnd_cb_event_dnd_selection(void *data, int type, void *event)
|
||||||
* the drop property... */
|
* the drop property... */
|
||||||
ecore_x_dnd_send_finished();
|
ecore_x_dnd_send_finished();
|
||||||
eina_stringshare_del(_xdnd->type);
|
eina_stringshare_del(_xdnd->type);
|
||||||
free(_xdnd);
|
E_FREE(_xdnd);
|
||||||
_xdnd = NULL;
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue