From 37d063a852a3425457079fa30aab5bd6c760f383 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 20 Jun 2007 21:52:55 +0000 Subject: fix a memleak in broadcom-diag (#1780) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7683 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/broadcom-diag/src/diag.c | 1 + 1 file changed, 1 insertion(+) (limited to 'package') diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index 0b074673e..af1907992 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; } -- cgit v1.2.3