X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftincctl.c;h=45bf6ee566a3f789c3356b972909c14432978abd;hb=1bb969c9306812d0d5c954fe8db32ed1a248bf20;hp=eaf14e03fbed97202af79477b7e28889d4fba674;hpb=d21f63d5b39280b653ca72a272f3a70c7c3f03be;p=tinc diff --git a/src/tincctl.c b/src/tincctl.c index eaf14e03..45bf6ee5 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -1838,6 +1838,8 @@ static int cmd_export(int argc, char *argv[]) { int result = export(name, stdout); if(!tty) fclose(stdout); + + free(name); return result; }