diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-10-24 21:04:00 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-10-24 21:04:00 +0200 |
commit | 3422d8db505630a70bc89a4eee7db927b8e5ec2f (patch) | |
tree | f0c6e1ba7db9991f2bd38c9169f9921bfe5e61d8 /src/deque.c | |
parent | df5167db909a88fb8e16dd20b37442495a6ac059 (diff) | |
parent | aab49e5a013c53ae812a143fe41add74e0677a61 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/deque.c')
-rw-r--r-- | src/deque.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/deque.c b/src/deque.c index 3ff7dc9..bc39e0e 100644 --- a/src/deque.c +++ b/src/deque.c @@ -122,6 +122,8 @@ EXPORT_SYMBOL void *HXdeque_del(struct HXdeque_node *node) EXPORT_SYMBOL void HXdeque_free(struct HXdeque *dq) { + if (dq == NULL) + return; struct HXdeque_node *node, *next; for (node = dq->first; node != NULL; node = next) { next = node->next; |