Wow, cut me off!<div><br></div><div>Here is the warning:</div><div><br></div><div>(error) Common realloc mistake: &quot;ptr&quot; nulled but not freed upon failure</div><div><br></div><div>Unfortunately, the patch I sent was somehow incorrect.  I am really not sure how I managed that as my local copy seems correct.  Anyway, thanks for not letting me introduce a bug.</div>
<div><br></div><div>Attached is the corrected patch.</div><div><div><br><div class="gmail_quote">On 29 September 2010 13:32, Kohei Yoshida <span dir="ltr">&lt;<a href="mailto:kyoshida@novell.com">kyoshida@novell.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, 2010-09-29 at 21:02 +0100, Michael Meeks wrote:<br>
&gt; &gt; Attached is a small patch that does nothing except eliminate one<br>
&gt; &gt; cppcheck warning.  It is contributed under the LGPL3+.<br>
&gt;<br>
&gt;         What is the warning ? :-)<br>
<br>
</div>I can give you that info as I was also curious about this:<br>
<br>
$ cppcheck soltools/javadep/javadep.c<br>
Checking soltools/javadep/javadep.c...<br>
[soltools/javadep/javadep.c:606]: (error) Common realloc mistake: &quot;ptr&quot;<br>
nulled but not freed upon failure<br>
Checking soltools/javadep/javadep.c: DEBUG...<br>
Checking soltools/javadep/javadep.c: OS2...<br>
Checking soltools/javadep/javadep.c: WNT...<br>
<font color="#888888"><br>
--<br>
Kohei Yoshida, LibreOffice hacker, Calc<br>
&lt;<a href="mailto:kyoshida@novell.com">kyoshida@novell.com</a>&gt;<br>
<br>
</font></blockquote></div><br></div></div>