From owner-svn-src-stable@FreeBSD.ORG Tue Feb 9 13:07:32 2010 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2966106566B; Tue, 9 Feb 2010 13:07:32 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A15C38FC12; Tue, 9 Feb 2010 13:07:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o19D7WkA072636; Tue, 9 Feb 2010 13:07:32 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o19D7WAP072635; Tue, 9 Feb 2010 13:07:32 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201002091307.o19D7WAP072635@svn.freebsd.org> From: Ed Maste Date: Tue, 9 Feb 2010 13:07:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r203701 - stable/8/lib/libc/stdlib X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2010 13:07:32 -0000 Author: emaste Date: Tue Feb 9 13:07:32 2010 New Revision: 203701 URL: http://svn.freebsd.org/changeset/base/203701 Log: MFC r203077: Add missing return, in a rare case where we can't allocate memory in deallocate. Submitted by: Ryan Stone (rysto32 at gmail dot com) Approved by: jasone Modified: stable/8/lib/libc/stdlib/malloc.c Directory Properties: stable/8/lib/libc/ (props changed) stable/8/lib/libc/stdtime/ (props changed) Modified: stable/8/lib/libc/stdlib/malloc.c ============================================================================== --- stable/8/lib/libc/stdlib/malloc.c Tue Feb 9 12:20:48 2010 (r203700) +++ stable/8/lib/libc/stdlib/malloc.c Tue Feb 9 13:07:32 2010 (r203701) @@ -3861,6 +3861,7 @@ arena_dalloc(arena_t *arena, arena_chunk arena_dalloc_small(arena, chunk, ptr, mapelm); malloc_spin_unlock(&arena->lock); + return; } mag_rack = rack; }