From b43727981c460cf934f894a8ddb3819ffcf9a6fe Mon Sep 17 00:00:00 2001 From: "kenton@google.com" Date: Mon, 18 May 2009 18:38:56 +0000 Subject: Fix final leak (win32 only). --- src/google/protobuf/stubs/once.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/google/protobuf/stubs/once.h') diff --git a/src/google/protobuf/stubs/once.h b/src/google/protobuf/stubs/once.h index 61c5f362..22b0d4e6 100644 --- a/src/google/protobuf/stubs/once.h +++ b/src/google/protobuf/stubs/once.h @@ -87,6 +87,7 @@ struct GoogleOnceInternal; struct LIBPROTOBUF_EXPORT GoogleOnceType { GoogleOnceType(); + ~GoogleOnceType(); void Init(void (*init_func)()); volatile bool initialized_; -- cgit v1.2.3