aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/pipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/pipe.c b/src/core/pipe.c
index c9cc545c..cc92e6fe 100644
--- a/src/core/pipe.c
+++ b/src/core/pipe.c
@@ -74,6 +74,7 @@ nni_pipe_create(nni_pipe **pp, const nni_pipe_ops *ops)
p->p_data = NULL;
p->p_ops = *ops;
p->p_id = nni_plat_nextid();
+ *pp = p;
return (0);
}