[svn] commit: r64 - in /experiments/jelte-configuration: config_manager.cc config_obj.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Oct 6 09:00:38 UTC 2009


Author: jelte
Date: Tue Oct  6 09:00:37 2009
New Revision: 64

Log:
init all members

Modified:
    experiments/jelte-configuration/config_manager.cc
    experiments/jelte-configuration/config_obj.cc

Modified: experiments/jelte-configuration/config_manager.cc
==============================================================================
--- experiments/jelte-configuration/config_manager.cc (original)
+++ experiments/jelte-configuration/config_manager.cc Tue Oct  6 09:00:37 2009
@@ -19,6 +19,7 @@
 
 ConfigManager::ConfigManager()
 {
+    config = NULL;
     ISC::Config::config_init();
 }
 

Modified: experiments/jelte-configuration/config_obj.cc
==============================================================================
--- experiments/jelte-configuration/config_obj.cc (original)
+++ experiments/jelte-configuration/config_obj.cc Tue Oct  6 09:00:37 2009
@@ -102,12 +102,14 @@
 
     Config::Config(std::string filename)
     {
+        node = NULL;
         parser = new XercesDOMParser();
         read_file(filename);
     }
 
     Config::Config(std::istream &in)
     {
+        node = NULL;
         parser = new XercesDOMParser();
         read_stream(in);
     }




More information about the bind10-changes mailing list