]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Use ast_free() instead of free().
authorSean Bright <sean@malleable.com>
Fri, 4 Sep 2009 19:29:02 +0000 (19:29 +0000)
committerSean Bright <sean@malleable.com>
Fri, 4 Sep 2009 19:29:02 +0000 (19:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@216593 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 7cfbf1b58e401914885d7321eb34366b6e9790f9..a61af0ef052af5cc3d180ec7f454e87bb0d0035c 100644 (file)
@@ -2357,7 +2357,7 @@ static struct ast_vm_user *find_user_realtime_imapuser(const char *imapuser)
                ast_variables_destroy(var);
                return vmu;
        } else {
-               free(vmu);
+               ast_free(vmu);
                return NULL;
        }
 }