From 51d8051f586c5e3954860b10837912161c2f3c8e Mon Sep 17 00:00:00 2001 From: hackbard Date: Tue, 13 Feb 2007 00:56:48 +0000 Subject: [PATCH] forgot to free tbuf and rbuf since they were static during first tries --- fx2/usb_bulk_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fx2/usb_bulk_test.c b/fx2/usb_bulk_test.c index f68309a..e6671fe 100644 --- a/fx2/usb_bulk_test.c +++ b/fx2/usb_bulk_test.c @@ -139,6 +139,8 @@ int main(int argc,char **argv) { left-=rx; } + free(tbuf); + free(rbuf); close(usb_fd); return 0; -- 2.39.5