This PR fixes a bug in the goto cleanup waterfall within rx_samples_c. Previously, the free_rx_streamer label was positioned above the free_rx_metadata label. Because C executes sequentially, if an error occurred after the metadata was successfully created (for example, during uhd_usrp_set_rx_rate or uhd_usrp_get_rx_stream), the code would jump to free_rx_metadata, fall through to free_usrp, and exit. It completely skipped free_rx_streamer, silently leaking the streamer memory and leaving the hardware handles dangling. Changes: - Reordered the cleanup labels to strictly follow the reverse-chronological order of resource creation (Metadata -> Streamer -> USRP). - Updated the corresponding EXECUTE_OR_GOTO jump targets for the stream setup functions to match the new waterfall order. |
||
|---|---|---|
| .. | ||
| cmake | ||
| docs | ||
| examples | ||
| include | ||
| lib | ||
| python | ||
| tests | ||
| utils | ||
| .gitignore | ||
| CMakeLists.txt | ||
| LICENSE | ||
| README.md | ||
| uhd.pc.in | ||
Host UHD™ Software Source Code
This directory tree contains the source code that builds the UHD software library on your host computer. This library contains the drivers for all Ettus Research products, and the framework and API that make them usable to application-level programs. The UHD library runs entirely in user-space.
Documentation
For documentation, please refer to the following resources:
For technical documentation related to our devices and UHD check out the UHD and USRP Manual.
Additionally, be sure to check out the Ettus Research FAQ, and the Knowledge Base for useful application notes and tutorials.
Support
If you have purchased an Ettus Research USRP™ product and need technical support
using the device or using this UHD™ software, please e-mail the USRP-Users
mailing list, which is where Ettus Research, and our community, provide support
to users.
Note that you must be subscribed to the list in order to post a message to the list. This is to prevent spammers from just sending garbage messages out over the listserve.