diff options
Diffstat (limited to 'src/zix')
-rw-r--r-- | src/zix/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zix/tree.c b/src/zix/tree.c index 1be9227..1189230 100644 --- a/src/zix/tree.c +++ b/src/zix/tree.c @@ -461,7 +461,7 @@ ZIX_API void* zix_tree_get(ZixTreeIter* ti) { - return ti->data; + return ti ? ti->data : NULL; } ZIX_API |