summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-10-11 15:38:09 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-10-11 15:38:09 +0200
commit7bebfd3b60894bd913e3d6cbcad5447a607e0a0b (patch)
tree4243c632639de11ccb08eebd014851f1bc3f6711 /runtime
parent156382746626459aaf64d79eac95183d1ab60680 (diff)
parent2ae9e456db8991e61b4aa48cf9b74f6d20689ce4 (diff)
downloadrsyslog-7bebfd3b60894bd913e3d6cbcad5447a607e0a0b.tar.gz
rsyslog-7bebfd3b60894bd913e3d6cbcad5447a607e0a0b.tar.xz
rsyslog-7bebfd3b60894bd913e3d6cbcad5447a607e0a0b.zip
Merge branch 'beta'
Conflicts: ChangeLog configure.ac doc/manual.html
Diffstat (limited to 'runtime')
-rw-r--r--runtime/objomsr.c4
-rw-r--r--runtime/rsyslog.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/runtime/objomsr.c b/runtime/objomsr.c
index 9cf3781b..e63eb681 100644
--- a/runtime/objomsr.c
+++ b/runtime/objomsr.c
@@ -42,9 +42,7 @@ rsRetVal OMSRdestruct(omodStringRequest_t *pThis)
/* free the strings */
if(pThis->ppTplName != NULL) {
for(i = 0 ; i < pThis->iNumEntries ; ++i) {
- if(pThis->ppTplName[i] != NULL) {
- free(pThis->ppTplName[i]);
- }
+ free(pThis->ppTplName[i]);
}
free(pThis->ppTplName);
}
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 4404c475..07d58d68 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -392,6 +392,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_JNAME_NOTFOUND = -2305, /**< JSON name not found (does not exist) */
RS_RET_INVLD_SETOP = -2305, /**< invalid variable set operation, incompatible type */
RS_RET_RULESET_EXISTS = -2306,/**< ruleset already exists */
+ RS_RET_DEPRECATED = -2307,/**< deprecated functionality is used */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */