aboutsummaryrefslogtreecommitdiff
path: root/src/shared/lua_api/stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/lua_api/stream.cpp')
-rw-r--r--src/shared/lua_api/stream.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/lua_api/stream.cpp b/src/shared/lua_api/stream.cpp
index 9f7200c..fcdc3e3 100644
--- a/src/shared/lua_api/stream.cpp
+++ b/src/shared/lua_api/stream.cpp
@@ -11,6 +11,7 @@ struct stream* stream_create(){
s->length = 0;
s->data = (byte*)malloc(sizeof(byte)*0);
s->read = 0;
+ s->pipe = NULL;
return s;
}
void stream_writeInt(struct stream* s, int number){