diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-06 14:13:43 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-06 14:13:43 +0000 |
commit | 96ff31f5bfb75741115bf8586a7691efaa7bd06c (patch) | |
tree | f9d53efeefe26ba34904d63bb03c0f40f15d6418 /modules.c | |
parent | e802a7d965d5fcbc3cc848462744774e4d181a8f (diff) | |
download | rsyslog-96ff31f5bfb75741115bf8586a7691efaa7bd06c.tar.gz rsyslog-96ff31f5bfb75741115bf8586a7691efaa7bd06c.tar.xz rsyslog-96ff31f5bfb75741115bf8586a7691efaa7bd06c.zip |
applied some bugfixes to new code supplied by varmojfekoj - thanks!v3-12-1
Diffstat (limited to 'modules.c')
-rw-r--r-- | modules.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -461,7 +461,6 @@ Load(uchar *pModName) } pModInfo = GetNxt(pModInfo); } - free(pModNameDup); /* now build our load module name */ if(*pModName == '/') { @@ -485,6 +484,7 @@ Load(uchar *pModName) /* ... so now add the extension */ strncat((char *) szPath, ".so", sizeof(szPath) - strlen((char*) szPath) - 1); } + free(pModNameDup); /* complete load path constructed, so ... GO! */ |