summaryrefslogtreecommitdiffstats
path: root/main/netcf/memleak.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/netcf/memleak.patch')
-rw-r--r--main/netcf/memleak.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/netcf/memleak.patch b/main/netcf/memleak.patch
new file mode 100644
index 000000000..20cac7d30
--- /dev/null
+++ b/main/netcf/memleak.patch
@@ -0,0 +1,12 @@
+diff --git i/src/drv_debian.c w/src/drv_debian.c
+index d762a5d..370eccd 100644
+--- i/src/drv_debian.c
++++ w/src/drv_debian.c
+@@ -145,6 +145,7 @@ static int interface_deps(struct netcf *ncf, char ***slaves, const char *fmt, ..
+ }
+
+ nmatches = aug_match(aug, path, &matches);
++ FREE(path);
+ ERR_COND_BAIL(nmatches < 0, ncf, EOTHER);
+
+ if (!nmatches)