<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xmldtp</author_name>
  <author_url>https://blog.hatena.ne.jp/xmldtp/</author_url>
  <blog_title>ウィリアムのいたずらの、まちあるき、たべあるきーPART2</blog_title>
  <blog_url>https://xmldtp.hatenadiary.org/</blog_url>
  <categories>
    <anon>Weblog</anon>
  </categories>
  <description>ウィリアムのいたずらも、ハマったし、検索しても、いろいろでてきますね。 CStringを使ったとき、strcoreでmemory leaks けっきょく、こんな感じのケースなんですけどね。。。 １．メソッド内で CString buf = &quot;&quot;; for(int i = 0 ; i &lt;10; i ++ ) buf = buf + &quot;a&quot;; } のように宣言したもので、ポインタでなく、newしたものでもない （なので、deleteもできない。こういうのは、メソッド終了後、解放されるはず） ２．スレッド内で使っていても、強制終了されたものではない。 スレッドは、すでに終了しているのに、出る ３．文…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxmldtp.hatenadiary.org%2Fentry%2Fb950d7b57e190cd440ddea06f014d04b&quot; title=&quot;VC++で、「CStringを使ったとき、strcoreでメモリーリーク」のまとめ - ウィリアムのいたずらの、まちあるき、たべあるきーPART2&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2005-05-31 14:05:25</published>
  <title>VC++で、「CStringを使ったとき、strcoreでメモリーリーク」のまとめ</title>
  <type>rich</type>
  <url>https://xmldtp.hatenadiary.org/entry/b950d7b57e190cd440ddea06f014d04b</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
