<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:08:17 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-42] remove unnecessary test: if (p) free (p); -&gt; free (p);</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-42</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;There is no reason to ensure P is non-NULL before calling &quot;free(P)&quot;.&lt;br/&gt;
(unless you still target SunOS4 &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;src/gridfs.c (gridfs_destroy): Remove 4 unneeded tests.&lt;br/&gt;
There is no longer (since SunOS 4) any need to guard against&lt;br/&gt;
free (NULL), so replace each &quot;if (p) free (p);&quot; with &quot;free (p);&quot;.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Patch attached:&lt;/p&gt;</description>
                <environment>latest from git, Fedora 14, x86_64</environment>
        <key id="14778">CDRIVER-42</key>
            <summary>remove unnecessary test: if (p) free (p); -&gt; free (p);</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="kbanker">Kyle Banker</assignee>
                                    <reporter username="meyering">Jim Meyering</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Feb 2011 16:41:50 +0000</created>
                <updated>Wed, 19 Oct 2016 22:33:36 +0000</updated>
                            <resolved>Fri, 8 Apr 2011 20:08:01 +0000</resolved>
                                                    <fixVersion>0.2</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                        <attachments>
                            <attachment id="10843" name="0001-remove-unnecessary-test-if-p-free-p-free-p.patch" size="1109" author="meyering" created="Thu, 17 Feb 2011 16:41:50 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrh6xj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13922</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>