]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
audit
authorBrian West <brian@freeswitch.org>
Wed, 27 May 2009 02:18:56 +0000 (02:18 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 27 May 2009 02:18:56 +0000 (02:18 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13450 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_voicemail/mod_voicemail.c

index add23a89f4d0ba6f1906036919a339711068592d..bee547a5d81be79bdc004fded24f29381d41fe4a 100644 (file)
@@ -1337,7 +1337,7 @@ static void message_count(vm_profile_t *profile, const char *id_in, const char *
        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 @@ static void message_count(vm_profile_t *profile, const char *id_in, const char *
        if (myid != id_in) {
                free(myid);
        }
-
 }
 
 #define VM_STARTSAMPLES 1024 * 32
@@ -4004,7 +4003,6 @@ SWITCH_STANDARD_API(voicemail_api_function)
        return SWITCH_STATUS_SUCCESS;
 }
 
-
 SWITCH_MODULE_LOAD_FUNCTION(mod_voicemail_load)
 {
        switch_application_interface_t *app_interface;