[Pcre-svn] [865] code/trunk: Fixed a small memory leak in pc…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [865] code/trunk: Fixed a small memory leak in pcre2test (convert contexts ).
Revision: 865
          http://www.exim.org/viewvc/pcre2?view=rev&revision=865
Author:   ph10
Date:     2017-09-18 16:51:44 +0100 (Mon, 18 Sep 2017)
Log Message:
-----------
Fixed a small memory leak in pcre2test (convert contexts).


Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/src/pcre2test.c


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2017-09-17 16:56:41 UTC (rev 864)
+++ code/trunk/ChangeLog    2017-09-18 15:51:44 UTC (rev 865)
@@ -22,7 +22,9 @@
 6. Defined public names for all the pcre2_compile() error numbers, and used 
 the public names in pcre2_convert.c.


+7. Fixed a small memory leak in pcre2test (convert contexts).

+
Version 10.30 14-August-2017
----------------------------


Modified: code/trunk/src/pcre2test.c
===================================================================
--- code/trunk/src/pcre2test.c    2017-09-17 16:56:41 UTC (rev 864)
+++ code/trunk/src/pcre2test.c    2017-09-18 15:51:44 UTC (rev 865)
@@ -8511,7 +8511,9 @@
   G(pcre2_compile_context_free_,BITS)(G(pat_context,BITS)); \
   G(pcre2_compile_context_free_,BITS)(G(default_pat_context,BITS)); \
   G(pcre2_match_context_free_,BITS)(G(dat_context,BITS)); \
-  G(pcre2_match_context_free_,BITS)(G(default_dat_context,BITS))
+  G(pcre2_match_context_free_,BITS)(G(default_dat_context,BITS)); \
+  G(pcre2_convert_context_free_,BITS)(G(default_con_context,BITS)); \
+  G(pcre2_convert_context_free_,BITS)(G(con_context,BITS));


#ifdef SUPPORT_PCRE2_8
#undef BITS