INN commit: trunk (innd/perl.c nnrpd/perl.c)

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


    Date: Thursday, June 6, 2013 @ 13:09:08
  Author: iulius
Revision: 9482

properly undef two hashes used in Perl hooks

Modified:
  trunk/innd/perl.c
  trunk/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:06:48 UTC (rev 9481)
+++ innd/perl.c	2013-06-06 20:09:08 UTC (rev 9482)
@@ -253,6 +253,8 @@
         failure = false;
     }
 
+    hv_undef(mode);
+
     PUTBACK;
     FREETMPS;
     LEAVE;

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



More information about the inn-committers mailing list