From c9be87b42af523b35b1bcb727527341ecd9a5fd4 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Fri, 26 Apr 2013 13:23:30 -0500 Subject: Clean up potential uninitialized object instances. Change-Id: I859f94234d5672f55f745dd37b9662c310b694a7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4236 Reviewed-by: Daniel M. Crowell Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/libc++/builtins.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libc++') diff --git a/src/libc++/builtins.C b/src/libc++/builtins.C index 7cef85485..02953d72d 100755 --- a/src/libc++/builtins.C +++ b/src/libc++/builtins.C @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2010,2012 */ +/* COPYRIGHT International Business Machines Corp. 2010,2013 */ /* */ /* p1 */ /* */ @@ -149,7 +149,7 @@ extern "C" int __cxa_atexit(void (*i_dtor)(void*), // TODO - Only need dtors for extended image modules if(i_dso_handle != __dso_handle) { - DtorEntry_t * entry = new DtorEntry_t; + DtorEntry_t * entry = new DtorEntry_t(); entry->key = i_dso_handle; entry->dtor = i_dtor; entry->arg = i_arg; -- cgit v1.2.1