summaryrefslogtreecommitdiffstats
path: root/obj.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-07 09:51:55 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-07 09:51:55 +0000
commitcfbb74e7a59c93c3816b431ffb25adf2032c5ef0 (patch)
tree3289f5474b50ce2ffa5785998e38c43029529500 /obj.c
parentc8b946aa94251a93fc934d8e3e875f5f26fcfcfd (diff)
downloadrsyslog-cfbb74e7a59c93c3816b431ffb25adf2032c5ef0.tar.gz
rsyslog-cfbb74e7a59c93c3816b431ffb25adf2032c5ef0.tar.xz
rsyslog-cfbb74e7a59c93c3816b431ffb25adf2032c5ef0.zip
implemented disk queue as far as I could without an object de-serializer
Diffstat (limited to 'obj.c')
-rw-r--r--obj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/obj.c b/obj.c
index eb4a7b32..420850be 100644
--- a/obj.c
+++ b/obj.c
@@ -131,8 +131,8 @@ finalize_it:
rsRetVal objSerializeProp(rsCStrObj *pCStr, uchar *pszPropName, propertyType_t propType, void *pUsr)
{
DEFiRet;
- uchar *pszBuf;
- size_t lenBuf;
+ uchar *pszBuf = NULL;
+ size_t lenBuf = 0;
uchar szBuf[64];
assert(pCStr != NULL);