summaryrefslogtreecommitdiff
path: root/Ivy
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy')
-rw-r--r--Ivy/IvyApplication.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Ivy/IvyApplication.cxx b/Ivy/IvyApplication.cxx
index 7ed553c..6aa3668 100644
--- a/Ivy/IvyApplication.cxx
+++ b/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