<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>methane</author_name>
  <author_url>https://blog.hatena.ne.jp/methane/</author_url>
  <blog_title>methaneのブログ</blog_title>
  <blog_url>https://methane.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>最近、仕事関係でswfmillというツールを触っている。今の職場はオープンソースへのコミットを推奨しているので、仕事の時間を使った改造のうち、身内以外でも役に立つ機能はパッチを作って本家に送っている。 しかしswfmillの作者は、Linux上でのC言語による開発には慣れているようだけれども、C++に関しては初心者らしい。文字列を、new charで確保するのに一部strdup()((free()で開放しないといけない))で確保したものが混ざっているし、削除するときは全部まとめてdeleteになっている((をつけていない))。基本型の配列ならnewもnewもmalloc()されるのかもしれない…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmethane.hatenablog.jp%2Fentry%2F20080130%2F1201689444&quot; title=&quot;C++とオープンソースプロジェクト - methaneのブログ&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>2008-01-30 19:37:24</published>
  <title>C++とオープンソースプロジェクト</title>
  <type>rich</type>
  <url>https://methane.hatenablog.jp/entry/20080130/1201689444</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
