From 5edf18bbc8835f3a0e55c4e392267f4018f6fde6 Mon Sep 17 00:00:00 2001 From: rlar Date: Wed, 27 Oct 2010 16:30:55 +0000 Subject: [PATCH] bug fix ?, this fix is a mere guesswork, FIXME --- ChangeLog | 4 ++++ src/spicelib/analysis/distoan.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cd8f64829..f79180a7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-10-27 Robert Larice + * src/spicelib/analysis/distoan.c : + bug fix ?, this fix is a mere guesswork, FIXME + 2010-10-27 Robert Larice * src/spicelib/devices/ltra/ltraask.c , * src/spicelib/devices/tra/traask.c : diff --git a/src/spicelib/analysis/distoan.c b/src/spicelib/analysis/distoan.c index 4015ee40a..ba6ccacab 100644 --- a/src/spicelib/analysis/distoan.c +++ b/src/spicelib/analysis/distoan.c @@ -22,7 +22,7 @@ c = *a; static void DmemAlloc(double **a, int size) { -*a = (double *) MALLOC( sizeof(double) * size + 1); +*a = (double *) MALLOC( sizeof(double) * (size + 1)); }