From e946e122d02987552874595f2613c07ce0c0aa23 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 11 Mar 2008 16:43:13 +0000 Subject: implemented module unload handling (required a number of interface changes) --- stringbuf.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'stringbuf.c') diff --git a/stringbuf.c b/stringbuf.c index f1063745..4254d5bd 100755 --- a/stringbuf.c +++ b/stringbuf.c @@ -1046,6 +1046,17 @@ int rsCStrLocateSzStr(cstr_t *pThis, uchar *sz) #endif /* end comment out */ +/* our exit function. TODO: remove once converted to a class + * rgerhards, 2008-03-11 + */ +rsRetVal strExit() +{ + DEFiRet; + objRelease(regexp, LM_REGEXP_FILENAME); + RETiRet; +} + + /* our init function. TODO: remove once converted to a class */ rsRetVal strInit() -- cgit v1.2.3