diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-04-05 12:58:41 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-04-05 12:58:41 +0000 |
commit | 3e74f1c83282af087e4975d94725095533939716 (patch) | |
tree | 10835a40892365608a04e1b5c91ee152486ff3fc /ace/ACE.i | |
parent | e94ab32c492b3c055fe8fd5ab062374c2858c9f2 (diff) | |
download | ATCD-3e74f1c83282af087e4975d94725095533939716.tar.gz |
ChangeLogTag:Fri Apr 5 12:51:11 UTC 2002 Don Hinton <dhinton@ieee.org>
Diffstat (limited to 'ace/ACE.i')
-rw-r--r-- | ace/ACE.i | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ace/ACE.i b/ace/ACE.i index 28d27af017b..094606deb93 100644 --- a/ace/ACE.i +++ b/ace/ACE.i @@ -330,6 +330,8 @@ ACE::strnew (const char *s) ASYS_INLINE wchar_t * ACE::strnew (const wchar_t *s) { + if (s == 0) + return 0; wchar_t *t = 0; ACE_NEW_RETURN (t, wchar_t[ACE_OS_String::strlen (s) + 1], |