Commit 74878eb8 authored by lifekidyeaa's avatar lifekidyeaa

* fixed an uncommon segfault when ending tracks at a midpoint.

parent b58beebb
...@@ -662,7 +662,7 @@ TRACK * firsttrack = track; ...@@ -662,7 +662,7 @@ TRACK * firsttrack = track;
TRACK * oldtrack; TRACK * oldtrack;
int nn = 0; int nn = 0;
EDA_BaseStruct * LockPoint; EDA_BaseStruct * LockPoint;
if(track == 0) return NULL;
LockPoint = track->start; LockPoint = track->start;
while ( track != NULL ) while ( track != NULL )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment