<?xml version="1.0"?>
<page xmlns="http://projectmallard.org/1.0/"
      type="topic"
      style="function"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/experimental/ui/"
      id="bson_context_destroy">
  <info>
    <link type="guide" xref="bson_context_t" group="function"/>
  </info>
  <title>bson_context_destroy()</title>

  <section id="synopsis">
    <title>Synopsis</title>
    <synopsis><code mime="text/x-csrc"><![CDATA[void
bson_context_destroy (bson_context_t *context);
]]></code></synopsis>
  </section>

  <section id="parameters">
    <title>Parameters</title>
    <table>
      <tr><td><p><code>context</code></p></td><td><p>A <code xref="bson_context_t">bson_context_t</code>.</p></td></tr>
    </table>
  </section>

  <section id="description">
    <title>Description</title>
    <p>The <code>bson_context_destroy()</code> function shall release all resources associated with <code>context</code>.</p>
    <p>This should be called when you are no longer using a <code xref="bson_context_t">bson_context_t</code> that you have allocated with <code xref="bson_context_new">bson_context_new()</code>.</p>
  </section>

</page>
