Diff between a4f6905ea933032d8aa1d07575349f5e80cc5a3d and 6d2ecb1b547af21613943528b0e62a1005051eb2

Changed Files

File Additions Deletions Status
mesh/cfgmod-server.c +1 -1 modified

Full Patch

diff --git a/mesh/cfgmod-server.c b/mesh/cfgmod-server.c
index e982c79..2c4a029 100644
--- a/mesh/cfgmod-server.c
+++ b/mesh/cfgmod-server.c
@@ -81,7 +81,7 @@ static bool config_pub_get(struct mesh_net *net, uint16_t src, uint16_t dst,
 	uint32_t mod_id;
 	uint16_t ele_addr;
 	int ele_idx;
-	struct mesh_model_pub *pub;
+	struct mesh_model_pub *pub = NULL;
 	int status;
 
 	if (size == 4)