From owner-cvs-all Mon Mar 8 2:34: 2 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E5BB314EF1; Mon, 8 Mar 1999 02:32:55 -0800 (PST) (envelope-from dcs@FreeBSD.org) Received: (from dcs@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id CAA56458; Mon, 8 Mar 1999 02:32:41 -0800 (PST) (envelope-from dcs@FreeBSD.org) Message-Id: <199903081032.CAA56458@freefall.freebsd.org> From: "Daniel C. Sobral" Date: Mon, 8 Mar 1999 02:32:41 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/common commands.c interp.c interp_parse.c module.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dcs 1999/03/08 02:32:41 PST Modified files: sys/boot/common commands.c interp.c interp_parse.c module.c Log: Fix a number of memory leaks and other memory-related disorders. Also, unbreak the breakage introduced at the last revision of module.c. This changes the semantics of mod_searchfile() (and mod_searchmodule()) to make the caller's responsibility freeing the buffer returned. This is different from other functions in loader's code, and was done as a fix for kern/9631. If someone wants to revert this to the original behavior, don't forget to fix kern/9631 in another way. This should also fix bin/10462, which was introduced as a result of the first try at kern/9631 (module.c last revision). PR: bin/10462 Submitted by: Takanori Saneto Revision Changes Path 1.11 +7 -1 src/sys/boot/common/commands.c 1.17 +4 -3 src/sys/boot/common/interp.c 1.7 +2 -1 src/sys/boot/common/interp_parse.c 1.9 +6 -4 src/sys/boot/common/module.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message