uhd/host
Zsolt Gaál ddc67b681e examples: Fix cleanup waterfall memory leak in rx_samples_c
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.
2026-07-28 09:23:21 +02:00
..
cmake host/mpm: replace mpRPC with gRPC transport 2026-07-09 12:12:04 +02:00
docs docs: x4xx: Improve docs on external clocking 2026-07-03 14:45:08 +02:00
examples examples: Fix cleanup waterfall memory leak in rx_samples_c 2026-07-28 09:23:21 +02:00
include fpga: x420: add 400 MHz variant 2026-07-01 10:01:05 +02:00
lib host: Fix SPI pin offset for Port B 2026-07-24 13:48:00 +02:00
python rfnoc_modtool: Fix make_var entry in YAML wizard 2026-07-14 10:03:04 +02:00
tests host: fix intermittent "Socket closed" / "Invalid token" RPC failures 2026-07-24 10:13:27 +02:00
utils utils: Fix exit code on error in uhd_images_downloader 2026-06-15 14:02:51 +02:00
.gitignore Move ignore of build folders into top level 2025-07-18 11:19:52 +02:00
CMakeLists.txt host/mpm: replace mpRPC with gRPC transport 2026-07-09 12:12:04 +02:00
LICENSE uhd/host: clarifying LICENSE file 2014-04-10 12:44:42 -07:00
README.md host: fixed mailing list URL in readme 2025-01-21 08:08:56 +01:00
uhd.pc.in pkg-config: Remove boost_system library from linker flags 2025-09-24 11:35:07 +02:00

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.