C_runtime/PLCObject.cpp
changeset 4045 6975b486b07f
parent 4032 1ffff67678ad
--- a/C_runtime/PLCObject.cpp	Sat Nov 23 00:49:26 2024 +0100
+++ b/C_runtime/PLCObject.cpp	Sat Nov 23 00:49:57 2024 +0100
@@ -679,7 +679,7 @@
 {
     // TODO
 
-    answer->data = (uint8_t*)"";
+    answer->data = (uint8_t *)malloc(0);
     answer->dataLength = 0;
 
     return 0;