diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-11-25 17:29:08 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-11-25 17:29:08 +0100 |
commit | 79fe711a01cb1d0ac3b5f5603d21508eb1ffbd75 (patch) | |
tree | 799f3591095b7b9725dbbc8a99d5e6b45536b60e | |
parent | 740ed93a529b0a8d9dc8a21f7d6fbac65295f4a3 (diff) | |
download | uci-79fe711a01cb1d0ac3b5f5603d21508eb1ffbd75.tar.gz |
fix memory leak reported in https://dev.openwrt.org/ticket/4236
-rw-r--r-- | file.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -528,6 +528,7 @@ static char **uci_list_config_files(struct uci_context *ctx) buf += strlen(buf) + 1; } free(dir); + globfree(&globbuf); return configs; } |