summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Levshin <pavel@levshin.spb.ru>2013-10-25 12:55:39 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-10-25 12:55:39 +0200
commit87cf832d08114bb7f2ce5b94df69d611dc9e2a65 (patch)
tree9f972faf49ce6a41b60a081ae0b3a803ba61e8a5
parent79148e10312b12f3341aa68a5c9525cbe6e37a4d (diff)
downloadrsyslog-87cf832d08114bb7f2ce5b94df69d611dc9e2a65.tar.gz
rsyslog-87cf832d08114bb7f2ce5b94df69d611dc9e2a65.tar.bz2
rsyslog-87cf832d08114bb7f2ce5b94df69d611dc9e2a65.zip
bugfix: memory leak in omhiredis
-rw-r--r--plugins/omhiredis/omhiredis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omhiredis/omhiredis.c b/plugins/omhiredis/omhiredis.c
index 051ac0bf..7a35bac2 100644
--- a/plugins/omhiredis/omhiredis.c
+++ b/plugins/omhiredis/omhiredis.c
@@ -198,7 +198,7 @@ CODESTARTendTransaction
/* TODO: add error checking here! */
free ( pData->replies[i] );
}
- free ( pData->replies );
+ freeReplyObject ( pData->replies );
pData->count = 0;
ENDendTransaction