mgmt: create Data response using make_shared

refs: #1335

Change-Id: Ib237616d39575b00bfc8c3cbeeb8048dea2cf4db
diff --git a/daemon/mgmt/manager-base.cpp b/daemon/mgmt/manager-base.cpp
index 7add7b6..1994416 100644
--- a/daemon/mgmt/manager-base.cpp
+++ b/daemon/mgmt/manager-base.cpp
@@ -42,11 +42,11 @@
 
   const Block& encodedControl = response.wireEncode();
 
-  Data responseData(name);
-  responseData.setContent(encodedControl);
+  shared_ptr<Data> responseData(make_shared<Data>(name));
+  responseData->setContent(encodedControl);
 
-  m_face->sign(responseData);
-  m_face->put(responseData);
+  m_face->sign(*responseData);
+  m_face->put(*responseData);
 }