<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toburau</author_name>
  <author_url>https://blog.hatena.ne.jp/toburau/</author_url>
  <blog_title>ゲームが作れるようになるまでがんばる日記</blog_title>
  <blog_url>https://toburau.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>VisualStudio</anon>
  </categories>
  <description>Visual Studioで_CrtDumpMemoryLeaks関数を呼べば、メモリリークを検出してダンプしてくれる。さらに次のようにしてnewを呼び出すことによって、そのメモリを確保したソースの場所を表示してくれる。 #define new new(_NORMAL_BLOCK, __FILE__, __LINE__) 例えば次のようなコードを実行した場合、 #include &quot;stdafx.h&quot; #include &lt;crtdbg.h&gt; #define new new(_NORMAL_BLOCK, __FILE__, __LINE__) int _tmain(int argc, _TCHAR…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20110804%2F1312412571&quot; title=&quot;メモリリークの場所をわかりやすくする - ゲームが作れるようになるまでがんばる日記&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>2011-08-04 08:02:51</published>
  <title>メモリリークの場所をわかりやすくする</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/20110804/1312412571</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
