r32940 - in /branches/upstream/libhtml-template-pro-perl/current: Changes META.yml Makefile.PL Pro.xs lib/HTML/Template/Pro.pm perl-HTML-Template-Pro.spec proscope.c

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Thu Apr 9 19:04:57 UTC 2009


Author: gregoa
Date: Thu Apr  9 19:04:52 2009
New Revision: 32940

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=32940
Log:
[svn-upgrade] Integrating new upstream version, libhtml-template-pro-perl (0.73)

Modified:
    branches/upstream/libhtml-template-pro-perl/current/Changes
    branches/upstream/libhtml-template-pro-perl/current/META.yml
    branches/upstream/libhtml-template-pro-perl/current/Makefile.PL
    branches/upstream/libhtml-template-pro-perl/current/Pro.xs
    branches/upstream/libhtml-template-pro-perl/current/lib/HTML/Template/Pro.pm
    branches/upstream/libhtml-template-pro-perl/current/perl-HTML-Template-Pro.spec
    branches/upstream/libhtml-template-pro-perl/current/proscope.c

Modified: branches/upstream/libhtml-template-pro-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-template-pro-perl/current/Changes?rev=32940&op=diff
==============================================================================
--- branches/upstream/libhtml-template-pro-perl/current/Changes (original)
+++ branches/upstream/libhtml-template-pro-perl/current/Changes Thu Apr  9 19:04:52 2009
@@ -158,4 +158,7 @@
 	- added support of path through variable scope 
 	(by Shigeki Morimoto <shigeki.morimoto at mixi.co.jp>)
 
+0.73 Thu Apr  2 22:45:47 EEST 2009
+	- multiple memory leaks fixed 
+	(by Shigeki Morimoto <shigeki.morimoto at mixi.co.jp>)
 

Modified: branches/upstream/libhtml-template-pro-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-template-pro-perl/current/META.yml?rev=32940&op=diff
==============================================================================
--- branches/upstream/libhtml-template-pro-perl/current/META.yml (original)
+++ branches/upstream/libhtml-template-pro-perl/current/META.yml Thu Apr  9 19:04:52 2009
@@ -1,15 +1,15 @@
 --- #YAML:1.0
 name:                HTML-Template-Pro
-version:             0.72
+version:             0.73
 abstract:            Perl/XS module to use HTML Templates from CGI scripts
 license:             ~
-generated_by:        ExtUtils::MakeMaker version 6.32
+author:              
+    - I. Yu. Vlasenko <viy at altlinux.org>
+generated_by:        ExtUtils::MakeMaker version 6.42
 distribution_type:   module
 requires:     
     File::Spec:                    0
     Test::More:                    0
 meta-spec:
-    url:     http://module-build.sourceforge.net/META-spec-v1.2.html
-    version: 1.2
-author:
-    - I. Yu. Vlasenko <viy at altlinux.org>
+    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
+    version: 1.3

Modified: branches/upstream/libhtml-template-pro-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-template-pro-perl/current/Makefile.PL?rev=32940&op=diff
==============================================================================
--- branches/upstream/libhtml-template-pro-perl/current/Makefile.PL (original)
+++ branches/upstream/libhtml-template-pro-perl/current/Makefile.PL Thu Apr  9 19:04:52 2009
@@ -150,13 +150,10 @@
 TARBALL=HTML-Template-Pro-$(VERSION).tar.gz
 SF_HOME='viy2 at html-tmpl-pro.sf.net:/home/groups/h/ht/html-tmpl-pro/htdocs/'
 sourceforge: tardist index.html
-	( echo 'anonymous';	\
-	  echo prompt;		\
-	  echo hash;		\
-	  echo cd incoming;	\
+	ssh-add ~/.ssh/id_dsa.sf
+	( echo cd uploads;	\
 	  echo put $(TARBALL);	\
-	  echo quit ) | /usr/bin/ftp upload.sourceforge.net
-	ssh-add ~/.ssh/id_dsa.sf
+	  echo quit ) | /usr/bin/sftp viy2 at frs.sourceforge.net
 	scp index.html $(SF_HOME)
  
 

Modified: branches/upstream/libhtml-template-pro-perl/current/Pro.xs
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-template-pro-perl/current/Pro.xs?rev=32940&op=diff
==============================================================================
--- branches/upstream/libhtml-template-pro-perl/current/Pro.xs (original)
+++ branches/upstream/libhtml-template-pro-perl/current/Pro.xs Thu Apr  9 19:04:52 2009
@@ -207,6 +207,8 @@
 {
   if (NULL!=param->ExprFuncArglist) {
     av_undef((AV*) param->ExprFuncArglist);
+    SvREFCNT_dec(param->ExprFuncArglist);
+    param->ExprFuncArglist = NULL;
   }
 }
 
@@ -353,7 +355,11 @@
 
   /*   setting perl globals */
   PerlSelfHTMLTemplatePro=PerlSelfPtr;
-  PerlFilteredTmpls=newAV();
+  if(PerlFilteredTmpls != NULL){
+    av_undef(PerlFilteredTmpls);
+  }else{
+    PerlFilteredTmpls=newAV();
+  }
   /*  end setting perl globals */
 
   if ((!SvROK(PerlSelfPtr)) || (SvTYPE(SvRV(PerlSelfPtr)) != SVt_PVHV))

Modified: branches/upstream/libhtml-template-pro-perl/current/lib/HTML/Template/Pro.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-template-pro-perl/current/lib/HTML/Template/Pro.pm?rev=32940&op=diff
==============================================================================
--- branches/upstream/libhtml-template-pro-perl/current/lib/HTML/Template/Pro.pm (original)
+++ branches/upstream/libhtml-template-pro-perl/current/lib/HTML/Template/Pro.pm Thu Apr  9 19:04:52 2009
@@ -9,7 +9,7 @@
 use vars qw($VERSION @ISA);
 @ISA = qw(DynaLoader);
 
-$VERSION = '0.72';
+$VERSION = '0.73';
 
 bootstrap HTML::Template::Pro $VERSION;
 

Modified: branches/upstream/libhtml-template-pro-perl/current/perl-HTML-Template-Pro.spec
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-template-pro-perl/current/perl-HTML-Template-Pro.spec?rev=32940&op=diff
==============================================================================
--- branches/upstream/libhtml-template-pro-perl/current/perl-HTML-Template-Pro.spec (original)
+++ branches/upstream/libhtml-template-pro-perl/current/perl-HTML-Template-Pro.spec Thu Apr  9 19:04:52 2009
@@ -6,7 +6,7 @@
 %define module HTML-Template-Pro
 
 Name: perl-%module
-Version: 0.72
+Version: 0.73
 Release: alt1
 
 Packager: Igor Yu. Vlasenko <viy at altlinux.org>
@@ -54,6 +54,9 @@
 %perl_vendor_man3dir/*
 
 %changelog
+* Thu Apr 02 2009 Igor Vlasenko <viy at altlinux.ru> 0.73-alt1
+- new version; see Changes
+
 * Thu Dec 18 2008 Igor Vlasenko <viy at altlinux.ru> 0.72-alt1
 - new version; see Changes
 

Modified: branches/upstream/libhtml-template-pro-perl/current/proscope.c
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-template-pro-perl/current/proscope.c?rev=32940&op=diff
==============================================================================
--- branches/upstream/libhtml-template-pro-perl/current/proscope.c (original)
+++ branches/upstream/libhtml-template-pro-perl/current/proscope.c Thu Apr  9 19:04:52 2009
@@ -23,7 +23,7 @@
 
 void 
 Scope_free(struct scope_stack* scopestack) {
-  if (scopestack->_init_count--<=0) {
+  if (--scopestack->_init_count<=0) {
     free(scopestack->root);
     scopestack->max=-1;
     scopestack->level=-1;




More information about the Pkg-perl-cvs-commits mailing list