From 83a5c31e6f8d5fe3f659ef08b1cca258d7284085 Mon Sep 17 00:00:00 2001 From: rlar Date: Fri, 24 Apr 2015 21:45:29 +0200 Subject: [PATCH] fix commit "devices/asrc, allocate `ASRCacValues' in ASRCsetup()" --- src/spicelib/devices/asrc/asrcset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spicelib/devices/asrc/asrcset.c b/src/spicelib/devices/asrc/asrcset.c index 6ab88d02f..309629860 100644 --- a/src/spicelib/devices/asrc/asrcset.c +++ b/src/spicelib/devices/asrc/asrcset.c @@ -63,7 +63,7 @@ ASRCsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states) here->ASRCposptr = TMALLOC(double *, j); here->ASRCvars = TMALLOC(int *, here->ASRCtree->numVars); - here->ASRCacValues = TMALLOC(double *, here->ASRCtree->numVars + 1); + here->ASRCacValues = TMALLOC(double, here->ASRCtree->numVars + 1); /* For each controlling variable set the entries in the vector of the positions of the SMP */