summaryrefslogtreecommitdiff
path: root/compat/dun.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/dun.c')
-rw-r--r--compat/dun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/dun.c b/compat/dun.c
index 7140bacd5..3d4dab4d5 100644
--- a/compat/dun.c
+++ b/compat/dun.c
@@ -86,6 +86,7 @@ static int for_each_port(int (*func)(struct rfcomm_dev_info *, unsigned long), u
}
close(sk);
+ free(dl);
return r;
}