Fix memory leak in uci_list_config_files
authorJustin Bronder <jsbronder@brontes3d.com>
Tue, 1 Dec 2009 16:13:41 +0000 (11:13 -0500)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 1 Dec 2009 18:15:57 +0000 (19:15 +0100)
commitaa3ab8012bfbf793d2884c08ea924545a04e9544
treeec6ecee89113ab9b173fba583018dbe9b0cd6495
parentfa40c4e16644da1f7c87cbd5a25d3fa8be4e0594
Fix memory leak in uci_list_config_files

When glob returns non-zero, the path buffer was not unallocated.
file.c