aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-diag
diff options
context:
space:
mode:
Diffstat (limited to 'package/broadcom-diag')
-rw-r--r--package/broadcom-diag/src/diag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c
index 0b074673e8..af1907992f 100644
--- a/package/broadcom-diag/src/diag.c
+++ b/package/broadcom-diag/src/diag.c
@@ -912,6 +912,7 @@ static ssize_t diag_proc_read(struct file *file, char *buf, size_t count, loff_t
len = 0;
}
+ kfree(page);
return len;
}