mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
memory leaks
This commit is contained in:
parent
096a139769
commit
4a8f4b4c1c
@ -153,8 +153,8 @@ namespace
|
|||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
if ( msgLen > 0 ) {
|
if ( msgLen > 0 ) {
|
||||||
#if defined( WIN32 ) && defined( UNICODE )
|
# if defined( UNICODE )
|
||||||
error = Kernel_Utils::encode((wchar_t*)cstr);
|
error = Kernel_Utils::encode_s((wchar_t*)cstr);
|
||||||
# else
|
# else
|
||||||
error = (char*)cstr;
|
error = (char*)cstr;
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user