title: Boost async_write problem
body: <p>i'll show some piece of code ;</p>
  
  <pre><code>void wh(const boost::system::error_code&amp; ec,
          std::size_t bytes_transferred)
  {
      std::cout &lt;&lt; "test";
  }
  
  int main(int argc, char* argv[]) 
  { 
      boost::asio::io_service pService;
      boost::asio::serial_port pSerial(pService,"COM4");
  
      while (true) {
          boost::asio::async_write(pSerial, boost::asio::buffer("A",1),&amp;wh);
      }
  
      return 0; 
  } 
  </code></pre>
  
  <p>when i use that code i'm getting memory leak, I found some piece of code like minicom_client tutorial even complex from that code also i'm getting memory leak on minicom_client. If i use </p>
  
  <pre><code>    boost::asio::write(pSerial, boost::asio::buffer("A",1));
  </code></pre>
  
  <p>instead of async_write it works well, Could you explain what's going on there , Thanks a lot ...</p>