[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (6eef4d15a766c0c86c12a6980be27342df96ac6a)
The branch, master has been updated
via 6eef4d15a766c0c86c12a6980be27342df96ac6a (commit)
from 5b05cd2d9e006f062708c38b95444fda3f4cc5f5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/djopt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
=================
Commit Messages
=================
commit 6eef4d15a766c0c86c12a6980be27342df96ac6a
Author: Peter Clifton <peter@xxxxxxxxxxxxxxxxxxxxxxxxx>
Commit: Peter Clifton <peter@xxxxxxxxxxxxxxxxxxxxxxxxx>
djopt.c: Fix incorrect allocation.
I missed this fix from the commit ff2492399fd4743c3fd89ffd4fe6650ad0d80a4a
(Caught by coverity)
Coverity-cid: 239
:100644 100644 8a51d0e... eae52c6... M src/djopt.c
=========
Changes
=========
commit 6eef4d15a766c0c86c12a6980be27342df96ac6a
Author: Peter Clifton <peter@xxxxxxxxxxxxxxxxxxxxxxxxx>
Commit: Peter Clifton <peter@xxxxxxxxxxxxxxxxxxxxxxxxx>
djopt.c: Fix incorrect allocation.
I missed this fix from the commit ff2492399fd4743c3fd89ffd4fe6650ad0d80a4a
(Caught by coverity)
Coverity-cid: 239
diff --git a/src/djopt.c b/src/djopt.c
index 8a51d0e..eae52c6 100644
--- a/src/djopt.c
+++ b/src/djopt.c
@@ -1297,7 +1297,7 @@ orthopull_1 (corner_s * c, int fdir, int rdir, int any_sel)
if (cn >= cm)
{
cm = cn + 10;
- cs = (corner_s **) realloc (cs, cm * sizeof (corner_s));
+ cs = (corner_s **) realloc (cs, cm * sizeof (corner_s *));
}
cs[cn++] = c2;
r2 = corner_radius (c2);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs