qcacmn: Fix wlan log svc leaks

There is a memory leak within wlan logging thread.

To address this issue free the memory at appropriate places.

Change-Id: I41c7756d6547c0bfa783a48ebc31c9f1ef0df5db
CRs-Fixed: 2011525
Cette révision appartient à :
Ashish Kumar Dhanotiya
2017-03-01 18:12:34 +05:30
révisé par qcabuildsw
Parent 18f952c1e3
révision 55e1d72428
2 fichiers modifiés avec 36 ajouts et 21 suppressions

Voir le fichier

@@ -667,10 +667,6 @@ static int send_filled_buffers_to_user(void)
if (ret < 0 && (!(gwlan_logging.drop_count % 0x40))) {
pr_err("%s: Send Failed %d drop_count = %u\n",
__func__, ret, ++gwlan_logging.drop_count);
skb = NULL;
} else {
skb = NULL;
ret = 0;
}
}