diff --git a/src/utilities.cc b/src/utilities.cc index a037480..a6d1961 100644 --- a/src/utilities.cc +++ b/src/utilities.cc @@ -331,6 +331,7 @@ void InitGoogleLoggingUtilities(const char* argv0) { void ShutdownGoogleLoggingUtilities() { CHECK(IsGoogleLoggingInitialized()) << "You called ShutdownGoogleLogging() without calling InitGoogleLogging() first!"; + g_program_invocation_short_name = NULL; #ifdef HAVE_SYSLOG_H closelog(); #endif