From 1c2d3cb5207e7e2cee6536bf2b3503dfc2f389ce Mon Sep 17 00:00:00 2001 From: "tao%netscape.com" Date: Tue, 15 Jun 1999 23:26:08 +0000 Subject: [PATCH] 8152: MLK in string bundle --- intl/strres/src/nsStringBundle.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/intl/strres/src/nsStringBundle.cpp b/intl/strres/src/nsStringBundle.cpp index 25cb1015fb7b..211c006ecbbd 100644 --- a/intl/strres/src/nsStringBundle.cpp +++ b/intl/strres/src/nsStringBundle.cpp @@ -242,7 +242,11 @@ nsStringBundleService::CreateBundle(const char* aURLSpec, nsILocale* aLocale, strFile2 += fileRight; } #ifdef NS_DEBUG - printf("\n--NEW URL--%s\n", strFile2.ToNewCString()); + { + char *s = strFile2.ToNewCString(); + printf("\n--NEW URL--%s\n", s?s:"null"); + delete s; + } #endif } /* locale binding */