diff options
author | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-11-19 07:37:30 +0000 |
---|---|---|
committer | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-11-19 07:37:30 +0000 |
commit | 26945a26272663858d58bb070314d7655099cc79 (patch) | |
tree | 2ac416c0c4bbc5e168bc715f29301f11c5a02d81 /ace/Svc_Conf_l.cpp | |
parent | 00e2ba549d3ddc37f2459650de919cb854736536 (diff) | |
download | ATCD-26945a26272663858d58bb070314d7655099cc79.tar.gz |
ChangeLogTag: Mon Nov 19 00:53:54 2001 Krishnakumar B <kitty@cs.wustl.edu>
Diffstat (limited to 'ace/Svc_Conf_l.cpp')
-rw-r--r-- | ace/Svc_Conf_l.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Svc_Conf_l.cpp b/ace/Svc_Conf_l.cpp index c82bab96e51..be53770e146 100644 --- a/ace/Svc_Conf_l.cpp +++ b/ace/Svc_Conf_l.cpp @@ -1600,7 +1600,7 @@ int len; /* Get memory for full buffer, including space for trailing EOB's. */ n = len + 2; - buf = (ACE_TCHAR *) ace_yy_flex_alloc( n ); + buf = (ACE_TCHAR *) ace_yy_flex_alloc( n * sizeof (ACE_TCHAR)); if ( ! buf ) ACE_YY_FATAL_ERROR(ACE_LIB_TEXT( "out of dynamic memory in ace_yy_scan_bytes()" )); |