sane-project-website/old-archive/1997-10/0035.html

65 wiersze
2.5 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Thu Oct 9 03:29:56 1997 MST" -->
<!-- sent="Thu, 9 Oct 1997 12:22:52 +0200 (MET DST)" -->
<!-- name="Peter Daum" -->
<!-- email="gator@cs.tu-berlin.de" -->
<!-- subject="Re: segfault with sane-umax" -->
<!-- id="" -->
<!-- inreplyto="199710090906.LAA17278@fritz.sema.be" -->
<title>sane-devel: Re: segfault with sane-umax</title>
<h1>Re: segfault with sane-umax</h1>
<b>Peter Daum</b> (<a href="mailto:gator@cs.tu-berlin.de"><i>gator@cs.tu-berlin.de</i></a>)<br>
<i>Thu, 9 Oct 1997 12:22:52 +0200 (MET DST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#35">[ date ]</a><a href="index.html#35">[ thread ]</a><a href="subject.html#35">[ subject ]</a><a href="author.html#35">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0036.html">Laszlo Vecsey: "flatbed scanner, postscript printer"</a>
<li> <b>Previous message:</b> <a href="0034.html">Didier Carlier: "Re: segfault with sane-umax"</a>
<li> <b>In reply to:</b> <a href="0034.html">Didier Carlier: "Re: segfault with sane-umax"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On Thu, 9 Oct 1997, Didier Carlier wrote:<br>
<p>
[...]<br>
<p>
<i>&gt; I don't have the sources here, but that reminds me that there used to</i><br>
<i>&gt; be a bug in sane_exit(). The line which looks like</i><br>
<i>&gt; 'free(&amp;(dev-&gt;xxx));' should not have been there.</i><br>
<p>
.. but it still was in umax.c. Now it works fine. :-))<br>
<p>
Thanks,<br>
Peter<br>
<p>
- - - - - 8&lt; - - - - - 8&lt; - - - - - 8&lt; - - - - - 8&lt; - - - - - 8&lt; - - - - -<br>
<p>
--- umax.c~ Thu Aug 21 02:47:58 1997<br>
+++ umax.c Thu Oct 9 12:07:45 1997<br>
@@ -1011,7 +1011,6 @@<br>
{<br>
next = dev-&gt;next;<br>
free(dev-&gt;us.devicename);<br>
- free(&amp;(dev-&gt;us));<br>
free(dev);<br>
}<br>
}<br>
<p>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0036.html">Laszlo Vecsey: "flatbed scanner, postscript printer"</a>
<li> <b>Previous message:</b> <a href="0034.html">Didier Carlier: "Re: segfault with sane-umax"</a>
<li> <b>In reply to:</b> <a href="0034.html">Didier Carlier: "Re: segfault with sane-umax"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>