[Freeswitch-svn] [commit] r13450 - freeswitch/trunk/src/mod/applications/mod_voicemail

FreeSWITCH SVN brian at freeswitch.org
Tue May 26 19:18:56 PDT 2009


Author: brian
Date: Tue May 26 21:18:56 2009
New Revision: 13450

Log:
 audit 

Modified:
   freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c

Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	Tue May 26 21:18:56 2009
@@ -1337,7 +1337,7 @@
 	char msg_count[80] = "";
 	callback_t cbt = { 0 };
 	char sql[256];
-	char *myid;
+	char *myid = NULL;
 
 	cbt.buf = msg_count;
 	cbt.len = sizeof(msg_count);
@@ -1371,7 +1371,6 @@
 	if (myid != id_in) {
 		free(myid);
 	}
-
 }
 
 #define VM_STARTSAMPLES 1024 * 32
@@ -4004,7 +4003,6 @@
 	return SWITCH_STATUS_SUCCESS;
 }
 
-
 SWITCH_MODULE_LOAD_FUNCTION(mod_voicemail_load)
 {
 	switch_application_interface_t *app_interface;



More information about the Freeswitch-svn mailing list