projects
/
my-code
/
fpga.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2b1768b
)
forgot to free tbuf and rbuf since they were static during first tries
author
hackbard
<hackbard>
Tue, 13 Feb 2007 00:56:48 +0000
(
00:56
+0000)
committer
hackbard
<hackbard>
Tue, 13 Feb 2007 00:56:48 +0000
(
00:56
+0000)
fx2/usb_bulk_test.c
patch
|
blob
|
history
diff --git
a/fx2/usb_bulk_test.c
b/fx2/usb_bulk_test.c
index
f68309a
..
e6671fe
100644
(file)
--- a/
fx2/usb_bulk_test.c
+++ b/
fx2/usb_bulk_test.c
@@
-139,6
+139,8
@@
int main(int argc,char **argv) {
left-=rx;
}
left-=rx;
}
+ free(tbuf);
+ free(rbuf);
close(usb_fd);
return 0;
close(usb_fd);
return 0;