Skip to contentSkip to conversation

rilmodem: netmon fix missing notify for g_ril_send

PATCH Applied Nishanth V 2 participants 2 messages Sep 11, 2017

lore
Share & tools
lore

Nishanth V

author
#0 lore raw

PATCH 1/1 rilmodem: netmon fix missing notify for g_ril_send

---
 drivers/rilmodem/netmon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rilmodem/netmon.c +1 -1
index a1e5f6c..709997c 100644
@@ -296,7 +296,7 @@ static void ril_netmon_request_update(struct ofono_netmon *netmon,
 	struct cb_data *cbd = cb_data_new(cb, data, nmd);
 
 	if (g_ril_send(nmd->ril, RIL_REQUEST_GET_CELL_INFO_LIST, NULL,
-			ril_netmon_update_cb, cbd, NULL) > 0)
+			ril_netmon_update_cb, cbd, g_free) > 0)
 		return;
 
 	g_free(cbd);
Signature · 1 line
1.9.1
#1 lore raw

Hi Nishanth,

Quoted 4 lines · Nishanth V
---
  drivers/rilmodem/netmon.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Regards,
-Denis