Fixed expansion of expandable char array
[C_DigiMode.git] / src / packet / char_array_expandable.c
blob:a/src/packet/char_array_expandable.c -> blob:b/src/packet/char_array_expandable.c
--- a/src/packet/char_array_expandable.c
+++ b/src/packet/char_array_expandable.c
@@ -28,6 +28,8 @@
 
 		free(old_data);
 
+		self->data = new_data;
+
 	}
 
 	self->data[self->length] =  c;