summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
authorJohn E. Malmberg <wb8tyw@qsl.net>2008-12-03 13:38:04 -0600
committerCraig A. Berry <craigberry@mac.com>2008-12-04 15:17:12 +0000
commit827f156d0538416a3c0bae2e4b818b96c831d016 (patch)
tree437ae519695123d25816fff1807d0cd4d650a591 /vms
parentaa119509815264ca46da9f8ef37082ad657bdb94 (diff)
downloadperl-827f156d0538416a3c0bae2e4b818b96c831d016.tar.gz
[patch@34995] vms.c - Memory freed from wrong pool
From: "John E. Malmberg" <wb8tyw@qsl.net> Message-id: <4937347C.70003@qsl.net> Need PerlMem_free, not Safefree in trim_unixpath. p4raw-id: //depot/perl@35010
Diffstat (limited to 'vms')
-rw-r--r--vms/vms.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vms/vms.c b/vms/vms.c
index 08a799183c..c66279d56d 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -9345,10 +9345,10 @@ Perl_trim_unixpath(pTHX_ char *fspec, const char *wildspec, int opts)
char def[NAM$C_MAXRSS+1], *st;
if (getcwd(def, sizeof def,0) == NULL) {
- Safefree(unixified);
- Safefree(unixwild);
- Safefree(lcres);
- Safefree(tpl);
+ PerlMem_free(unixified);
+ PerlMem_free(unixwild);
+ PerlMem_free(lcres);
+ PerlMem_free(tpl);
return 0;
}
if (!decc_efs_case_preserve) {