summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-07-31 23:34:56 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-07-31 23:34:56 (GMT)
commitd02deb2425d6559c357bdd00e1c0fb05f35d5fc9 (patch)
tree1a78849aa7d51706856a6c6127f66b48c188d0fc /src/common
parentfd2abec30a224279c62a7ab4892d95e56cb08dff (diff)
Processed disassembling in a dedicated thread.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@104 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/common')
-rw-r--r--src/common/dllist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/dllist.h b/src/common/dllist.h
index 1bd1ead..5941f64 100644
--- a/src/common/dllist.h
+++ b/src/common/dllist.h
@@ -95,7 +95,7 @@ void __dl_list_splice(dl_list_item *, dl_list_head);
{ \
dl_list_item *hmbr = &(*head)->member; \
__dl_list_del(&item->member, &hmbr); \
- *(head) = container_of(hmbr, type, member); \
+ *(head) = (hmbr ? container_of(hmbr, type, member) : NULL); \
DL_LIST_ITEM_INIT(&item->member); \
} \
while(0)