Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions c_c++/windows/x64/riffa.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ int RIFFACALL fpga_send(fpga_t * fpga, int chnl, void * data, int len,
printf("Error in DeviceIoControl: %d\n", GetLastError());
}
}
CloseHandle(evt);
return wordsReturned;
}

Expand Down Expand Up @@ -198,6 +199,7 @@ int RIFFACALL fpga_recv(fpga_t * fpga, int chnl, void * data, int len,
printf("Error in DeviceIoControl: %d\n", GetLastError());
}
}
CloseHandle(evt);
return wordsReturned;
}

Expand Down
2 changes: 2 additions & 0 deletions c_c++/windows/x86/riffa.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ int RIFFACALL fpga_send(fpga_t * fpga, int chnl, void * data, int len,
printf("Error in DeviceIoControl: %d\n", GetLastError());
}
}
CloseHandle(evt);
return wordsReturned;
}

Expand Down Expand Up @@ -198,6 +199,7 @@ int RIFFACALL fpga_recv(fpga_t * fpga, int chnl, void * data, int len,
printf("Error in DeviceIoControl: %d\n", GetLastError());
}
}
CloseHandle(evt);
return wordsReturned;
}

Expand Down