diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-21 12:25:58 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-21 12:25:58 +0000 |
commit | 225a5dca523a9706687cc7849f9ef644967ae510 (patch) | |
tree | e8823f53fbf3b824544750b25db712cfb52a9d6d /NetWare/Nwmain.c | |
parent | 84037bb083599c663af466e6d56eeb23fdebad94 (diff) | |
download | perl-225a5dca523a9706687cc7849f9ef644967ae510.tar.gz |
NetWare tweaks from Guruprasad.
p4raw-id: //depot/perl@10775
Diffstat (limited to 'NetWare/Nwmain.c')
-rw-r--r-- | NetWare/Nwmain.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/NetWare/Nwmain.c b/NetWare/Nwmain.c index a01fa5efdd..c6cea84438 100644 --- a/NetWare/Nwmain.c +++ b/NetWare/Nwmain.c @@ -1386,10 +1386,8 @@ char *** nw_getenviron() { if (genviron) - // This (and not the next line) is the correct operation since it matches with the return type. - // But it is leaking memory upto 11736 bytes!! So it is commented. -// return (&genviron); - return genviron; + return (&genviron); // This might leak memory upto 11736 bytes on some versions of NetWare. +// return genviron; // Abending on some versions of NetWare. else fnSetUpEnvBlock(&genviron); |