mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
fix mod_enum on windows, fix logic error in free function causing operations on freed memory
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3503 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
fb447028bc
commit
92bd5358d0
@ -20,7 +20,7 @@
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
CharacterSet="1"
|
||||
CharacterSet="0"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
|
@ -258,10 +258,10 @@ static void free_results(enum_record_t **results)
|
||||
|
||||
for(rp = *results; rp;) {
|
||||
fp = rp;
|
||||
rp = rp->next;
|
||||
switch_safe_free(fp->service);
|
||||
switch_safe_free(fp->route);
|
||||
switch_safe_free(fp);
|
||||
rp = rp->next;
|
||||
}
|
||||
*results = NULL;
|
||||
}
|
||||
|
@ -21,7 +21,7 @@
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
CharacterSet="2"
|
||||
CharacterSet="0"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
@ -104,7 +104,7 @@
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
CharacterSet="2"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
|
Loading…
x
Reference in New Issue
Block a user