[svn] GnuPG - r5195 - trunk/g13

svn author marcus cvs at cvs.gnupg.org
Thu Nov 5 03:18:31 CET 2009


Author: marcus
Date: 2009-11-05 03:18:31 +0100 (Thu, 05 Nov 2009)
New Revision: 5195

Modified:
   trunk/g13/g13.c
Log:
Initialize opt.session_env.


Modified: trunk/g13/g13.c
===================================================================
--- trunk/g13/g13.c	2009-11-04 15:31:52 UTC (rev 5194)
+++ trunk/g13/g13.c	2009-11-05 02:18:31 UTC (rev 5195)
@@ -369,6 +369,11 @@
   
   create_dotlock (NULL); /* Register locking cleanup.  */
 
+  opt.session_env = session_env_new ();
+  if (!opt.session_env)
+    log_fatal ("error allocating session environment block: %s\n",
+               strerror (errno));
+
   opt.homedir = default_homedir ();
 
   /* First check whether we have a config file on the commandline.  */




More information about the Gnupg-commits mailing list