summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorkmx <kmx@volny.cz>2010-01-18 17:39:22 +0000
committerSteve Hay <SteveHay@planit.com>2010-01-18 17:52:41 +0000
commite46b65adca4157c2051f70b4a08ab0f3b5fcf840 (patch)
tree79b5228fd288c218d309519ec08dbd293dc07925 /ext
parentd549c43ddc6788144c1eedc371d7d732384a03db (diff)
downloadperl-e46b65adca4157c2051f70b4a08ab0f3b5fcf840.tar.gz
[perl #71676] GDBM_File support on Win32
Date: Thu, 07 Jan 2010 00:36:25 -0800 Message-ID: <rt-3.6.HEAD-1505-1262853384-1207.71676-15-0@perl.org> Tweaked as suggested in: From: "H.Merijn Brand" <h.m.brand@xs4all.nl> Date: Fri, 8 Jan 2010 13:35:17 +0100 Message-ID: <20100108133517.1f2916d3@pc09.procura.nl>
Diffstat (limited to 'ext')
-rw-r--r--ext/GDBM_File/GDBM_File.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/GDBM_File/GDBM_File.xs b/ext/GDBM_File/GDBM_File.xs
index 5f88223eb7..d1f99e2d9e 100644
--- a/ext/GDBM_File/GDBM_File.xs
+++ b/ext/GDBM_File/GDBM_File.xs
@@ -40,6 +40,7 @@ static void
output_datum(pTHX_ SV *arg, char *str, int size)
{
sv_setpvn(arg, str, size);
+# undef free
free(str);
}