summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-18 10:49:27 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-18 10:49:27 +0000
commit48c0c81132fe0b4aadf46fd54fc5acd61bfbeffa (patch)
tree7cc726aed7393ecdb22be545dbe8b3c400deb8d4 /template.h
parent7a2eb66a0a0fde6ed263a035eb2eeeba483c604b (diff)
downloadrsyslog-48c0c81132fe0b4aadf46fd54fc5acd61bfbeffa.tar.gz
rsyslog-48c0c81132fe0b4aadf46fd54fc5acd61bfbeffa.tar.xz
rsyslog-48c0c81132fe0b4aadf46fd54fc5acd61bfbeffa.zip
fixed minimal memory leak on HUP (caused by templates) thanks to
varmojfekoj for the patch
Diffstat (limited to 'template.h')
-rw-r--r--template.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/template.h b/template.h
index 0e707eff..6ca984f3 100644
--- a/template.h
+++ b/template.h
@@ -67,6 +67,7 @@ struct template *tplAddLine(char* pName, unsigned char** pRestOfConfLine);
struct template *tplFind(char *pName, int iLenName);
int tplGetEntryCount(struct template *pTpl);
void tplDeleteAll(void);
+void tplDeleteNew(void);
void tplPrintList(void);
/*