]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
automerge commit
authorAutomerge script <automerge@asterisk.org>
Fri, 14 Jul 2006 14:02:33 +0000 (14:02 +0000)
committerAutomerge script <automerge@asterisk.org>
Fri, 14 Jul 2006 14:02:33 +0000 (14:02 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@37628 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_sms.c

index beaf4e2a11ca2b843fa4c1a37f78fda196813762..78ff4d14375538587eaafc70a445d337f12f30c9 100644 (file)
@@ -1205,7 +1205,8 @@ static int sms_generate (struct ast_channel *chan, void *data, int len, int samp
        f.datalen = samples * 2;
 #endif
        f.offset = AST_FRIENDLY_OFFSET;
-       f.data = buf + AST_FRIENDLY_OFFSET;
+       f.mallocd = 0;
+       f.data = buf;
        f.samples = samples;
        f.src = "app_sms";
        /* create a buffer containing the digital sms pattern */