summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-10-09 16:50:49 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-10-09 16:50:49 +0200
commitd090f525286377dbb25e977829e2bcbef1eb4ddf (patch)
treeb4e51943a00f7428a7aa3d70aed63a837dc96fb7 /tools
parentd5a3d4b3a7151906a4eec59ec20fc7c90cefde8c (diff)
parent848bd8f9d93c6913d8345b68637b66d2b6ea49d2 (diff)
downloadrsyslog-d090f525286377dbb25e977829e2bcbef1eb4ddf.tar.gz
rsyslog-d090f525286377dbb25e977829e2bcbef1eb4ddf.tar.xz
rsyslog-d090f525286377dbb25e977829e2bcbef1eb4ddf.zip
Merge branch 'v3-stable' into beta
Diffstat (limited to 'tools')
-rw-r--r--tools/omfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index 06875fe4..8144386f 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -296,6 +296,8 @@ int resolveFileSizeLimit(instanceData *pData)
execProg(pCmd, 1, pParams);
+ free(pCmd);
+
pData->fd = open((char*) pData->f_fname, O_WRONLY|O_APPEND|O_CREAT|O_NOCTTY,
pData->fCreateMode);