VirtualBox

Ignore:
Timestamp:
Nov 21, 2023 8:29:54 AM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160300
Message:

libs/xpcom: Replace PL_strdup/PL_strndup/PL_strfree with IPRT equivalents, bugref:10545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/proxy/src/nsProxyEvent.cpp

    r101967 r102175  
    4949 */
    5050
     51#include <iprt/string.h>
     52
    5153#include "nsProxyEvent.h"
    5254#include "nsProxyEventPrivate.h"
     
    177179                    case nsXPTType::T_CHAR_STR:
    178180                        mParameterList[i].val.p =
    179                             PL_strdup((const char *)ptr);
     181                            RTStrDup((const char *)ptr);
    180182                        break;
    181183                    case nsXPTType::T_WCHAR_STR:
     
    207209                    case nsXPTType::T_CHAR_STR:
    208210                    case nsXPTType::T_WCHAR_STR:
    209                         PL_strfree((char*) ptr);
     211                        RTStrFree((char*) ptr);
    210212                        break;
    211213                    case nsXPTType::T_DOMSTRING:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette