title: Who is responsible to free the memory after consuming the box
body: <p>From the Rust docs.</p>
  
  <blockquote>
    <p>The into_raw function consumes a box and returns the raw pointer. It
    doesn't destroy T or deallocate any memory.</p>
  </blockquote>
  
  <p>in this code:</p>
  
  <pre><code>fn main() {
      let b = Box::new("hello".to_owned());
      let a: *mut String = Box::into_raw(b);
  }
  </code></pre>
  
  <p>I was not using <code>unsafe</code> block and as result we should have no memory leaks. So, if Box object is not responsible to free the memory after it was consumed, but the memory is not freed and available for further using, and raw pointers don't own by resources, who will free the memory?</p>