From 8f236abd49739c0f791c5b893433f7dfa40d3dd8 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 23 Jul 2007 13:07:30 +0000 Subject: fixed a memory leak in config file parsing thanks to varmojfekoj for the patch --- stringbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stringbuf.c') diff --git a/stringbuf.c b/stringbuf.c index 21859509..c737e3fe 100755 --- a/stringbuf.c +++ b/stringbuf.c @@ -106,7 +106,7 @@ void rsCStrDestruct(rsCStrObj *pThis) { /* rgerhards 2005-10-19: The free of pBuf was contained in conditional compilation. * The code was only compiled if STRINGBUF_TRIM_ALLOCSIZE was set to 1. I honestly - * do not know why it was so, I think it was an artefact. Anyhow, I have changed this + * do not know why it was so, I think it was an artifact. Anyhow, I have changed this * now. Should there any issue occur, this comment hopefully will shed some light * on what happened. I re-verified, and this function has never before been called * by anyone. So changing it can have no impact for obvious reasons... -- cgit