openwrt-mirror/package/network
Matthew Cather b7ab34d46c hostapd: fix ucode memory leak with strings
This fixes a common reference counting bug typically along the lines of:
```
uc_value_push(ucv_get(ucv_string_new(...)));
```
This would leave our new string with a reference count of 2, one from
the construction of the string, the other from `ucv_get`. This would
prevent the strings from being correctly cleaned up when it goes out
of scope.

Signed-off-by: Matthew Cather <mattbob4@gmail.com>
(cherry picked from commit f79968ee0f)
2025-03-05 08:04:52 +01:00
..
config wifi-scripts: fix mac address allocation with macaddr_base set 2025-02-11 18:30:27 +01:00
ipv6 odhcp6c: update to Git HEAD (2024-09-25) 2024-11-28 18:48:02 +00:00
services hostapd: fix ucode memory leak with strings 2025-03-05 08:04:52 +01:00
utils ethtool: work-around ETHTOOL_GRSSH/ETHTOOL_SRSSH ABI breakage 2025-02-28 13:20:22 +00:00