aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2010-04-30 19:28:44 +0100
committerMelanie2010-04-30 19:28:44 +0100
commitd1fcd2217327579d21d4c5a33341d4e51c91a089 (patch)
tree5e795579cc2c998ae984ac423d0338da11bc1db6
parentFix some symbol errors (diff)
downloadopensim-SC_OLD-d1fcd2217327579d21d4c5a33341d4e51c91a089.zip
opensim-SC_OLD-d1fcd2217327579d21d4c5a33341d4e51c91a089.tar.gz
opensim-SC_OLD-d1fcd2217327579d21d4c5a33341d4e51c91a089.tar.bz2
opensim-SC_OLD-d1fcd2217327579d21d4c5a33341d4e51c91a089.tar.xz
Fix a null ref from trying to access a dictionary that was never initialized.
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs
index 9c6e1cd..c97ab9e 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/InventoryCache.cs
@@ -52,7 +52,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
52 protected Dictionary<UUID, Dictionary<AssetType, InventoryFolderBase>> m_InventoryCache; 52 protected Dictionary<UUID, Dictionary<AssetType, InventoryFolderBase>> m_InventoryCache;
53 53
54 // A cache of userIDs --> ServiceURLs, for HGBroker only 54 // A cache of userIDs --> ServiceURLs, for HGBroker only
55 protected Dictionary<UUID, string> m_InventoryURLs; 55 protected Dictionary<UUID, string> m_InventoryURLs =
56 new Dictionary<UUID, string>();
56 57
57 public virtual void Init(IConfigSource source, BaseInventoryConnector connector) 58 public virtual void Init(IConfigSource source, BaseInventoryConnector connector)
58 { 59 {