summaryrefslogtreecommitdiffstats
path: root/ctok_token.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-20 14:02:33 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-20 14:02:33 +0000
commitc6bebca3c76985016970d87e75dd025a169790b0 (patch)
tree1d429d1c82e9775de8dcf746dd5b4720d1c1fce6 /ctok_token.c
parent33f061484d7456f0eb34f9ebab7a82e25ac26448 (diff)
downloadrsyslog-c6bebca3c76985016970d87e75dd025a169790b0.tar.gz
rsyslog-c6bebca3c76985016970d87e75dd025a169790b0.tar.xz
rsyslog-c6bebca3c76985016970d87e75dd025a169790b0.zip
changed rsCStrDestruct() to use the new interface conventions
Diffstat (limited to 'ctok_token.c')
-rw-r--r--ctok_token.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctok_token.c b/ctok_token.c
index a8bd9d97..7e768f37 100644
--- a/ctok_token.c
+++ b/ctok_token.c
@@ -56,7 +56,7 @@ rsRetVal ctok_tokenConstructFinalize(ctok_token_t __attribute__((unused)) *pThis
BEGINobjDestruct(ctok_token) /* be sure to specify the object type also in END and CODESTART macros! */
CODESTARTobjDestruct(ctok_token)
if(pThis->pstrVal != NULL) {
- rsCStrDestruct(pThis->pstrVal);
+ rsCStrDestruct(&pThis->pstrVal);
}
ENDobjDestruct(ctok_token)