aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-18 14:54:47 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-18 14:54:47 +0000
commitde84383ace5d986c3d55eb9ce3df3e9508852476 (patch)
tree09ff7f39ca8f342f1bed776a8dd0877bd8e19c12 /apps
parenta0cc2a8de08f96d4e0b0a61f2713a89e20c289ac (diff)
Silly pointers. This fixes a memory corruption I introduced
with the attended transfer logging. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@123650 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index ad1a46a10..51fadd92a 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -3109,7 +3109,7 @@ static int attended_transfer_occurred(struct ast_channel *chan)
static void setup_transfer_datastore(struct queue_ent *qe, struct member *member, int starttime)
{
struct ast_datastore *ds;
- struct queue_transfer_ds *qtds = ast_calloc(1, sizeof(qtds));
+ struct queue_transfer_ds *qtds = ast_calloc(1, sizeof(*qtds));
if (!qtds) {
ast_log(LOG_WARNING, "Memory allocation error!\n");