[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

raeburn raeburn at source.lon-capa.org
Sat Dec 8 10:17:25 EST 2018


raeburn		Sat Dec  8 15:17:25 2018 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Untie tied hashes.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1393 loncom/lonnet/perl/lonnet.pm:1.1394
--- loncom/lonnet/perl/lonnet.pm:1.1393	Wed Dec  5 21:36:18 2018
+++ loncom/lonnet/perl/lonnet.pm	Sat Dec  8 15:17:25 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1393 2018/12/05 21:36:18 raeburn Exp $
+# $Id: lonnet.pm,v 1.1394 2018/12/08 15:17:25 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -711,6 +711,7 @@
 
     if (!defined($disk_env{'user.name'})
 	|| !defined($disk_env{'user.domain'})) {
+        untie(%disk_env);
 	return undef;
     }
 
@@ -723,6 +724,7 @@
             $userhashref->{'ltiuri'} = $disk_env{'request.lti.uri'};
         }
     }
+    untie(%disk_env);
 
     return $handle;
 }




More information about the LON-CAPA-cvs mailing list