projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A couple missed tevent things.
[tinc]
/
src
/
process.c
diff --git
a/src/process.c
b/src/process.c
index
11e8b4f
..
30ff82a
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-379,8
+379,10
@@
bool execute_script(const char *name, char **envp)
/* First check if there is a script */
- if(stat(scriptname + 1, &s))
+ if(stat(scriptname + 1, &s)) {
+ free(scriptname);
return true;
+ }
ifdebug(STATUS) logger(LOG_INFO, _("Executing script %s"), name);