X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl-module%2FPSPP.xs;h=ea2907ffe9b68ca7a69a43291b26a9c57af42ba6;hb=69597a0423aad2fd5974c2cbc08a680208b94b6e;hp=909ffe9e5324a500ff833f09d2e11a39e22d89af;hpb=48b5d1d1f17f8059c7e91246b3d47ff3122a8f9f;p=pspp diff --git a/perl-module/PSPP.xs b/perl-module/PSPP.xs index 909ffe9e53..ea2907ffe9 100644 --- a/perl-module/PSPP.xs +++ b/perl-module/PSPP.xs @@ -17,6 +17,7 @@ 02110-1301, USA. */ +#undef VERSION #include /* The Gnulib "strftime" module defines my_strftime in for use by @@ -273,7 +274,7 @@ CODE: free (input_format); } hmap_destroy (&dict->input_formats); - dict_destroy (dict->dict); + dict_unref (dict->dict); free (dict); }