diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-10-11 16:53:42 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2023-10-11 16:55:14 +0200 |
commit | 9993ccb2ee31db072cb3519bd160b149ace929ad (patch) | |
tree | 9b07f8494e546177e2fecfd66cd0acb01d0e1649 /compiler.c | |
parent | 2b2a47240c089a2cb10223efd4a1f133638f5dd5 (diff) |
uci: fix potential memory leaks in `configs()`
In case `uci.cursor.configs()` is invoked with a completely empty
configuration directory, the empty configuration list is not free
before returning the `UCI_ERR_NOTFOUND` status.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'compiler.c')
0 files changed, 0 insertions, 0 deletions