Skip to content

Commit 5143f74

Browse files
committed
Fix null check bug in PointViewTest
1 parent 7c7ff89 commit 5143f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pdal/capi/PointViewTest.c.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct node
2323

2424
void dispose(struct node *n)
2525
{
26-
if (n == NULL)
26+
if (n != NULL)
2727
{
2828
dispose(n->left);
2929
dispose(n->right);

0 commit comments

Comments
 (0)