r54468 - in /trunk/libjson-xs-perl: Changes META.json META.yml XS.pm XS.xs debian/changelog debian/copyright

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Wed Mar 17 21:20:26 UTC 2010


Author: jawnsy-guest
Date: Wed Mar 17 21:20:17 2010
New Revision: 54468

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=54468
Log:
New upstream release

Modified:
    trunk/libjson-xs-perl/Changes
    trunk/libjson-xs-perl/META.json
    trunk/libjson-xs-perl/META.yml
    trunk/libjson-xs-perl/XS.pm
    trunk/libjson-xs-perl/XS.xs
    trunk/libjson-xs-perl/debian/changelog
    trunk/libjson-xs-perl/debian/copyright

Modified: trunk/libjson-xs-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/Changes?rev=54468&op=diff
==============================================================================
--- trunk/libjson-xs-perl/Changes (original)
+++ trunk/libjson-xs-perl/Changes Wed Mar 17 21:20:17 2010
@@ -1,4 +1,9 @@
 Revision history for Perl extension JSON::XS
+
+2.29  Wed Mar 17 02:39:12 CET 2010
+	- fix a memory leak when callbacks set using filter_json_object
+          or filter_json_single_key_object were called (great testcase
+          by Eric Wilhelm).
 
 2.28  Thu Mar 11 20:30:46 CET 2010
 	- implement our own atof function - perl's can be orders of

Modified: trunk/libjson-xs-perl/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/META.json?rev=54468&op=diff
==============================================================================
--- trunk/libjson-xs-perl/META.json (original)
+++ trunk/libjson-xs-perl/META.json Wed Mar 17 21:20:17 2010
@@ -1,1 +1,1 @@
-{"no_index":{"directory":["t","inc"]},"meta-spec":{"version":1.4,"url":"http://module-build.sourceforge.net/META-spec-v1.4.html"},"generated_by":"ExtUtils::MakeMaker version 6.54","distribution_type":"module","version":"2.28","name":"JSON-XS","author":[],"license":"unknown","build_requires":{"ExtUtils::MakeMaker":0},"requires":{"common::sense":0},"abstract":null,"configure_requires":{"ExtUtils::MakeMaker":0}}
+{"no_index":{"directory":["t","inc"]},"meta-spec":{"version":1.4,"url":"http://module-build.sourceforge.net/META-spec-v1.4.html"},"generated_by":"ExtUtils::MakeMaker version 6.54","distribution_type":"module","version":"2.29","name":"JSON-XS","author":[],"license":"unknown","build_requires":{"ExtUtils::MakeMaker":0},"requires":{"common::sense":0},"abstract":null,"configure_requires":{"ExtUtils::MakeMaker":0}}

Modified: trunk/libjson-xs-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/META.yml?rev=54468&op=diff
==============================================================================
--- trunk/libjson-xs-perl/META.yml (original)
+++ trunk/libjson-xs-perl/META.yml Wed Mar 17 21:20:17 2010
@@ -11,7 +11,7 @@
    },
    "generated_by" : "ExtUtils::MakeMaker version 6.54",
    "distribution_type" : "module",
-   "version" : "2.28",
+   "version" : "2.29",
    "name" : "JSON-XS",
    "author" : [],
    "license" : "unknown",

Modified: trunk/libjson-xs-perl/XS.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/XS.pm?rev=54468&op=diff
==============================================================================
--- trunk/libjson-xs-perl/XS.pm (original)
+++ trunk/libjson-xs-perl/XS.pm Wed Mar 17 21:20:17 2010
@@ -103,7 +103,7 @@
 
 use common::sense;
 
-our $VERSION = '2.28';
+our $VERSION = '2.29';
 our @ISA = qw(Exporter);
 
 our @EXPORT = qw(encode_json decode_json to_json from_json);

Modified: trunk/libjson-xs-perl/XS.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/XS.xs?rev=54468&op=diff
==============================================================================
--- trunk/libjson-xs-perl/XS.xs (original)
+++ trunk/libjson-xs-perl/XS.xs Wed Mar 17 21:20:17 2010
@@ -1403,6 +1403,7 @@
 
               ENTER; SAVETMPS; PUSHMARK (SP);
               XPUSHs (HeVAL (he));
+              sv_2mortal (sv);
 
               PUTBACK; count = call_sv (HeVAL (cb), G_ARRAY); SPAGAIN;
 
@@ -1413,6 +1414,7 @@
                   return sv;
                 }
 
+              SvREFCNT_inc (sv);
               FREETMPS; LEAVE;
             }
         }

Modified: trunk/libjson-xs-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/changelog?rev=54468&op=diff
==============================================================================
--- trunk/libjson-xs-perl/debian/changelog (original)
+++ trunk/libjson-xs-perl/debian/changelog Wed Mar 17 21:20:17 2010
@@ -1,3 +1,9 @@
+libjson-xs-perl (2.290-1) UNRELEASED; urgency=low
+
+  * New upstream release
+
+ -- Jonathan Yu <jawnsy at cpan.org>  Wed, 17 Mar 2010 17:36:56 -0400
+
 libjson-xs-perl (2.280-1) unstable; urgency=low
 
   [ Angel Abad ]

Modified: trunk/libjson-xs-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/debian/copyright?rev=54468&op=diff
==============================================================================
--- trunk/libjson-xs-perl/debian/copyright (original)
+++ trunk/libjson-xs-perl/debian/copyright Wed Mar 17 21:20:17 2010
@@ -8,14 +8,14 @@
 License: Artistic or GPL-1+
 
 Files: debian/*
-Copyright: 2007, Ivan Kohler <ivan-debian at 420.am>
+Copyright: 2010, Jonathan Yu <jawnsy at cpan.org>
+ 2010, Franck Joncourt <franck at debian.org>
  2008-2010, Angel Abad <angelabad at gmail.com>
+ 2009, Ansgar Burchardt <ansgar at 43-1.org>
+ 2009, Ryan Niebur <ryanryan52 at gmail.com>
  2008, Niko Tyni <ntyni at debian.org>
  2008, gregor herrmann <gregoa at debian.org>
- 2009, Ansgar Burchardt <ansgar at 43-1.org>
- 2009, Ryan Niebur <ryanryan52 at gmail.com>
- 2010, Jonathan Yu <jawnsy at cpan.org>
- 2010, Franck Joncourt <franck at debian.org>
+ 2007, Ivan Kohler <ivan-debian at 420.am>
 License: Artistic or GPL-1+
 
 License: Artistic




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