summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/dp/htt/htt_h2t.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/dp/htt/htt_h2t.c b/core/dp/htt/htt_h2t.c
index b2a8c0393d37..e4b7511f311b 100644
--- a/core/dp/htt/htt_h2t.c
+++ b/core/dp/htt/htt_h2t.c
@@ -748,6 +748,7 @@ htt_h2t_dbg_stats_get(struct htt_pdev_t *pdev,
/* FIX THIS - add more details? */
qdf_print("%#x %#x stats not supported\n",
stats_type_upload_mask, stats_type_reset_mask);
+ htt_htc_pkt_free(pdev, pkt);
return -EINVAL; /* failure */
}