Skip to contentSkip to conversation

genl: Correct bad l_genl_family_info free.

PATCH Applied Ossama Othman 2 participants 2 messages Jul 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 genl: Correct bad l_genl_family_info free.

---
 ell/genl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ell/genl.c +1 -1
index ea9d182..01e58dd 100644
@@ -1181,7 +1181,7 @@ static void dump_family_callback(struct l_genl_msg *msg, void *user_data)
 	discovery->cmd_id = 0;
 
 	if (parse_cmd_newfamily(info, msg) < 0) {
-		family_info_free(&info);
+		family_info_free(info);
 		return;
 	}
 
Signature · 1 line
2.20.1
#1 lore raw

Hi Ossama,

Quoted 4 lines · Ossama Othman
---
  ell/genl.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Regards,
-Denis