INN commit: branches/2.5 (innd/perl.c nnrpd/perl.c)

INN Commit rra at isc.org
Thu Jun 6 20:10:20 UTC 2013


    Date: Thursday, June 6, 2013 @ 13:10:20
  Author: iulius
Revision: 9483

properly undef two hashes used in Perl hooks

Modified:
  branches/2.5/innd/perl.c
  branches/2.5/nnrpd/perl.c

--------------+
 innd/perl.c  |    2 ++
 nnrpd/perl.c |    1 +
 2 files changed, 3 insertions(+)

Modified: innd/perl.c
===================================================================
--- innd/perl.c	2013-06-06 20:09:08 UTC (rev 9482)
+++ innd/perl.c	2013-06-06 20:10:20 UTC (rev 9483)
@@ -253,6 +253,8 @@
         failure = false;
     }
 
+    hv_undef(mode);
+
     PUTBACK;
     FREETMPS;
     LEAVE;

Modified: nnrpd/perl.c
===================================================================
--- nnrpd/perl.c	2013-06-06 20:09:08 UTC (rev 9482)
+++ nnrpd/perl.c	2013-06-06 20:10:20 UTC (rev 9483)
@@ -303,6 +303,7 @@
     }
 
     free(buffer);
+    hv_undef(attribs);
 
     PUTBACK;
     FREETMPS;



More information about the inn-committers mailing list