X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Ffpga.git;a=blobdiff_plain;f=fx2%2Fusb_bulk_test.c;fp=fx2%2Fusb_bulk_test.c;h=e6671fe148a34b51326fb03a2b9f0e0019fabfa3;hp=f68309ad832bd599ac2fbca4d99e7c6be2eabeae;hb=51d8051f586c5e3954860b10837912161c2f3c8e;hpb=2b1768b107b2744dedac49b246fcec81e8d307af 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;