projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04acb74
)
Add safety check when freeing dnd handler.
author
Leif Middelschulte
<leif.middelschulte@gmail.com>
Thu, 28 Jun 2012 13:47:45 +0000
(13:47 +0000)
committer
Leif Middelschulte
<leif.middelschulte@gmail.com>
Thu, 28 Jun 2012 13:47:45 +0000
(13:47 +0000)
SVN revision: 73010
src/bin/e_dnd.c
patch
|
blob
|
history
diff --git
a/src/bin/e_dnd.c
b/src/bin/e_dnd.c
index
5267ffb
..
986e731
100644
(file)
--- a/
src/bin/e_dnd.c
+++ b/
src/bin/e_dnd.c
@@
-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]);