summaryrefslogtreecommitdiffstats
path: root/main/netcf/memleak.patch
blob: 20cac7d30dac51b53c0ebec4ea98fdd30991b023 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)