[Freeswitch-svn] [commit] r3503 - in freeswitch/trunk: libs/win32/udns src/mod/applications/mod_enum
Freeswitch SVN
mikej at freeswitch.org
Fri Dec 1 01:12:07 EST 2006
Author: mikej
Date: Fri Dec 1 01:12:07 2006
New Revision: 3503
Modified:
freeswitch/trunk/libs/win32/udns/libudns.vcproj
freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c
freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.vcproj
Log:
fix mod_enum on windows, fix logic error in free function causing operations on freed memory
Modified: freeswitch/trunk/libs/win32/udns/libudns.vcproj
==============================================================================
--- freeswitch/trunk/libs/win32/udns/libudns.vcproj (original)
+++ freeswitch/trunk/libs/win32/udns/libudns.vcproj Fri Dec 1 01:12:07 2006
@@ -20,7 +20,7 @@
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
- CharacterSet="1"
+ CharacterSet="0"
>
<Tool
Name="VCPreBuildEventTool"
Modified: freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c Fri Dec 1 01:12:07 2006
@@ -258,10 +258,10 @@
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;
}
Modified: freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.vcproj
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.vcproj (original)
+++ freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.vcproj Fri Dec 1 01:12:07 2006
@@ -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"
More information about the Freeswitch-svn
mailing list