projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a tiny memory leak.
[tinc]
/
src
/
tincctl.c
diff --git
a/src/tincctl.c
b/src/tincctl.c
index
eaf14e0
..
45bf6ee
100644
(file)
--- 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;
}