<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2015-06-17 21:44:16 +0900 (Wed, 17 Jun 2015)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba">21ec9d82071125b08706192d8648ba933fe34eba</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Add missing free code on error</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2">ha_mroonga.cpp</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: ha_mroonga.cpp (+6 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2L2855">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2L2856">2856</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2L2857">2857</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2L2858">2858</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2L2859">2859</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2L2860">2860</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2L2861">2861</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2855">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2856">2856</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2857">2857</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2858">2858</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2859">2859</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2860">2860</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2861">2861</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2862">2862</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2863">2863</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2864">2864</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2865">2865</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2866">2866</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/21ec9d82071125b08706192d8648ba933fe34eba#diff-ba714ec217aa6836e39b3aea9da57ae2R2867">2867</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2856,6 +2856,12 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::wrapper_create(const char *name, TABLE *table,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     MRN_SET_BASE_SHARE_KEY(tmp_share, table-&gt;s);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     MRN_SET_BASE_TABLE_KEY(this, table);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     share = NULL;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    if (wrap_key_info)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      my_free(wrap_key_info);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      wrap_key_info = NULL;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    base_key_info = NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     error = MRN_GET_ERROR_NUMBER;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     DBUG_RETURN(error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>