diff options
Diffstat (limited to 'Bus/Ivy')
-rw-r--r-- | Bus/Ivy/IvyApplication.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bus/Ivy/IvyApplication.cxx b/Bus/Ivy/IvyApplication.cxx index 7ed553c..6aa3668 100644 --- a/Bus/Ivy/IvyApplication.cxx +++ b/Bus/Ivy/IvyApplication.cxx @@ -57,6 +57,7 @@ IvyApplication::~IvyApplication() // bus->RemoveApplication( this );
for ( unsigned int i = 0; i < regexp_in.size(); i++)
#ifdef USE_PCRE
+ pcre_free( regexp_in[i] );
#else
delete regexp_in[i];
#endif
@@ -201,6 +202,7 @@ void IvyApplication::OnReceive(char * line) {
exp = regexp_in[ id ];
#ifdef USE_PCRE
+ pcre_free( exp );
#else
delete exp;
#endif
|