683. [bug] File descriptor leak in isc_lex_openfile().
- 680. [bug] dns_rdata_fromstruct() mishandled options bigger
- than 255 octets.
+ 683. [bug] File descriptor leak in isc_lex_openfile().
681. [bug] $GENERATE specifying output format was broken. [RT#653]
+ 680. [bug] dns_rdata_fromstruct() mishandled options bigger
+ than 255 octets.
+
--- 9.1.0rc1 released ---
679. [bug] $INCLUDE could leak memory and file descriptors on
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: lex.c,v 1.57.4.1 2001/01/09 22:49:02 bwelling Exp $ */
+/* $Id: lex.c,v 1.57.4.2 2001/01/16 17:49:53 gson Exp $ */
#include <config.h>
flockfile(stream);
#endif
- return (new_source(lex, ISC_TRUE, ISC_TRUE, stream, filename));
+ result = new_source(lex, ISC_TRUE, ISC_TRUE, stream, filename);
+ if (result != ISC_R_SUCCESS)
+ fclose(stream);
+ return (result);
}
isc_result_t