From 8563837c8b9064eb055f04a4ab6653a2f3af3a90 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 9 Nov 2013 18:00:08 +0100 Subject: [PATCH] libtriple: fix memory allocation size --- libtriple/dmx_td.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtriple/dmx_td.cpp b/libtriple/dmx_td.cpp index c49a323..8de459e 100644 --- a/libtriple/dmx_td.cpp +++ b/libtriple/dmx_td.cpp @@ -89,7 +89,7 @@ cDemux::cDemux(int n) else num = n; fd = -1; - pdata = calloc(1, sizeof(pdata)); + pdata = calloc(1, sizeof(dmx_pdata)); P->measure = false; P->last_measure = 0; P->last_data = 0;