title: shared_ptr<void> t(new char[num]) means memory leak?
body: <pre><code>shared_ptr&lt;void&gt; t(new char[num])
  </code></pre>
  
  <p>means memory leak?</p>
  
  <p>If so, what is the correct practice in this case.</p>
  
  <p>should I use shared_array&lt;> instead?</p>
  
  <p>I'm editing the bytes pointed by 't' manually for later transfer in a TCP Stream.</p>