diff options
author | John E. Malmberg <wb8tyw@qsl.net> | 2008-12-03 13:38:04 -0600 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2008-12-04 15:17:12 +0000 |
commit | 827f156d0538416a3c0bae2e4b818b96c831d016 (patch) | |
tree | 437ae519695123d25816fff1807d0cd4d650a591 /vms | |
parent | aa119509815264ca46da9f8ef37082ad657bdb94 (diff) | |
download | perl-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) { |