model: Data packet's copy constructor had a bug regarding KeyLocator
diff --git a/model/ndn-data.cc b/model/ndn-data.cc
index 2f47aec..c6b9778 100644
--- a/model/ndn-data.cc
+++ b/model/ndn-data.cc
@@ -34,6 +34,7 @@
   : m_name (Create<Name> ())
   , m_signature (0)
   , m_payload (payload)
+  , m_keyLocator (0)
   , m_wire (0)
 {
   if (m_payload == 0) // just in case
@@ -50,6 +51,10 @@
   , m_payload (other.GetPayload ()->Copy ())
   , m_wire (0)
 {
+  if (other.GetKeyLocator ())
+    {
+      m_keyLocator = Create<Name> (*other.GetKeyLocator ());
+    }
 }
 
 void