--- apps/app_sms.c.old 2006-07-13 16:11:36.000000000 +0200 +++ apps/app_sms.c 2006-07-13 16:13:29.000000000 +0200 @@ -1205,7 +1205,8 @@ 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 */