Sun, 03 Nov 2024 09:57:17 +0100
fix memory leaks in json tests
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> <ProjectConfiguration Include="Release|Win32"> <Configuration>Release</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> <ProjectConfiguration Include="Debug|x64"> <Configuration>Debug</Configuration> <Platform>x64</Platform> </ProjectConfiguration> <ProjectConfiguration Include="Release|x64"> <Configuration>Release</Configuration> <Platform>x64</Platform> </ProjectConfiguration> </ItemGroup> <ItemGroup> <ClInclude Include="..\..\src\cx\allocator.h" /> <ClInclude Include="..\..\src\cx\array_list.h" /> <ClInclude Include="..\..\src\cx\buffer.h" /> <ClInclude Include="..\..\src\cx\collection.h" /> <ClInclude Include="..\..\src\cx\common.h" /> <ClInclude Include="..\..\src\cx\compare.h" /> <ClInclude Include="..\..\src\cx\hash_key.h" /> <ClInclude Include="..\..\src\cx\hash_map.h" /> <ClInclude Include="..\..\src\cx\iterator.h" /> <ClInclude Include="..\..\src\cx\json.h" /> <ClInclude Include="..\..\src\cx\linked_list.h" /> <ClInclude Include="..\..\src\cx\list.h" /> <ClInclude Include="..\..\src\cx\map.h" /> <ClInclude Include="..\..\src\cx\mempool.h" /> <ClInclude Include="..\..\src\cx\printf.h" /> <ClInclude Include="..\..\src\cx\properties.h" /> <ClInclude Include="..\..\src\cx\string.h" /> <ClInclude Include="..\..\src\cx\test.h" /> <ClInclude Include="..\..\src\cx\tree.h" /> <ClInclude Include="..\..\src\cx\streams.h" /> </ItemGroup> <ItemGroup> <ClCompile Include="..\..\src\allocator.c" /> <ClCompile Include="..\..\src\array_list.c" /> <ClCompile Include="..\..\src\buffer.c" /> <ClCompile Include="..\..\src\compare.c" /> <ClCompile Include="..\..\src\hash_key.c" /> <ClCompile Include="..\..\src\hash_map.c" /> <ClCompile Include="..\..\src\iterator.c" /> <ClCompile Include="..\..\src\json.c" /> <ClCompile Include="..\..\src\linked_list.c" /> <ClCompile Include="..\..\src\list.c" /> <ClCompile Include="..\..\src\map.c" /> <ClCompile Include="..\..\src\mempool.c" /> <ClCompile Include="..\..\src\printf.c" /> <ClCompile Include="..\..\src\properties.c" /> <ClCompile Include="..\..\src\string.c" /> <ClCompile Include="..\..\src\tree.c" /> <ClCompile Include="..\..\src\streams.c" /> </ItemGroup> <PropertyGroup Label="Globals"> <VCProjectVersion>17.0</VCProjectVersion> <Keyword>Win32Proj</Keyword> <ProjectGuid>{a7ee56a3-0bad-4cab-9354-7fae2a65e276}</ProjectGuid> <RootNamespace>libucx</RootNamespace> <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Label="Shared"> </ImportGroup> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <IntDir>build\$(Platform)\$(Configuration)\</IntDir> <OutDir>$(SolutionDir)..\build\msvc\$(Platform)\$(Configuration)\</OutDir> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <IntDir>build\$(Platform)\$(Configuration)\</IntDir> <OutDir>$(SolutionDir)..\build\msvc\$(Platform)\$(Configuration)\</OutDir> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <IntDir>build\$(Platform)\$(Configuration)\</IntDir> <OutDir>$(SolutionDir)..\build\msvc\$(Platform)\$(Configuration)\</OutDir> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <IntDir>build\$(Platform)\$(Configuration)\</IntDir> <OutDir>$(SolutionDir)..\build\msvc\$(Platform)\$(Configuration)\</OutDir> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <WarningLevel>Level3</WarningLevel> <SDLCheck>true</SDLCheck> <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ConformanceMode>true</ConformanceMode> <PrecompiledHeader>NotUsing</PrecompiledHeader> <PrecompiledHeaderFile> </PrecompiledHeaderFile> <LanguageStandard_C>stdc17</LanguageStandard_C> <CompileAs>CompileAsC</CompileAs> <AdditionalIncludeDirectories> </AdditionalIncludeDirectories> </ClCompile> <Link> <SubSystem> </SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> </Link> <Lib> <AdditionalDependencies> </AdditionalDependencies> <AdditionalLibraryDirectories> </AdditionalLibraryDirectories> </Lib> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> <WarningLevel>Level3</WarningLevel> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> <SDLCheck>true</SDLCheck> <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ConformanceMode>true</ConformanceMode> <PrecompiledHeader>NotUsing</PrecompiledHeader> <PrecompiledHeaderFile> </PrecompiledHeaderFile> <LanguageStandard_C>stdc17</LanguageStandard_C> <CompileAs>CompileAsC</CompileAs> <AdditionalIncludeDirectories> </AdditionalIncludeDirectories> </ClCompile> <Link> <SubSystem> </SubSystem> <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <GenerateDebugInformation>true</GenerateDebugInformation> </Link> <Lib> <AdditionalDependencies> </AdditionalDependencies> <AdditionalLibraryDirectories> </AdditionalLibraryDirectories> </Lib> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ClCompile> <WarningLevel>Level3</WarningLevel> <SDLCheck>true</SDLCheck> <PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ConformanceMode>true</ConformanceMode> <PrecompiledHeader>NotUsing</PrecompiledHeader> <PrecompiledHeaderFile> </PrecompiledHeaderFile> <LanguageStandard_C>stdc17</LanguageStandard_C> <CompileAs>CompileAsC</CompileAs> <AdditionalIncludeDirectories> </AdditionalIncludeDirectories> </ClCompile> <Link> <SubSystem> </SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> </Link> <Lib> <AdditionalDependencies> </AdditionalDependencies> <AdditionalLibraryDirectories> </AdditionalLibraryDirectories> </Lib> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ClCompile> <WarningLevel>Level3</WarningLevel> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> <SDLCheck>true</SDLCheck> <PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ConformanceMode>true</ConformanceMode> <PrecompiledHeader>NotUsing</PrecompiledHeader> <PrecompiledHeaderFile> </PrecompiledHeaderFile> <LanguageStandard_C>stdc17</LanguageStandard_C> <CompileAs>CompileAsC</CompileAs> <AdditionalIncludeDirectories> </AdditionalIncludeDirectories> </ClCompile> <Link> <SubSystem> </SubSystem> <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <GenerateDebugInformation>true</GenerateDebugInformation> </Link> <Lib> <AdditionalDependencies> </AdditionalDependencies> <AdditionalLibraryDirectories> </AdditionalLibraryDirectories> </Lib> </ItemDefinitionGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> </Project>