summaryrefslogtreecommitdiff
path: root/L3Code.c
diff options
context:
space:
mode:
Diffstat (limited to 'L3Code.c')
-rw-r--r--L3Code.c25
1 files changed, 23 insertions, 2 deletions
diff --git a/L3Code.c b/L3Code.c
index 2ca3d93..48e3c47 100644
--- a/L3Code.c
+++ b/L3Code.c
@@ -1028,7 +1028,7 @@ VOID CLEARACTIVEROUTE(struct ROUTE * ROUTE, int Reason)
}
-VOID L3TimerProc()
+VOID L3MinuteTimerProc()
{
int i;
struct PORTCONTROL * PORT = PORTTABLE;
@@ -1127,7 +1127,7 @@ VOID L3TimerProc()
}
}
-VOID L3FastTimer()
+VOID L3SecTimer()
{
// CALLED ONCE PER SECOND - USED ONLY TO SEND NEXT PART OF A NODES OR
// ID MESSAGE SEQUENCE
@@ -1370,6 +1370,27 @@ VOID REMOVENODE(dest_list * DEST)
}
L4++;
}
+
+ if (DEST->XROptions)
+ {
+ XROptions * Options = DEST->XROptions;
+
+ if (Options->LOC)
+ free(Options->LOC);
+
+ if (Options->QTH)
+ free(Options->QTH);
+
+ if (Options->Ver)
+ free(Options->Ver);
+
+ if (Options->Optionslist)
+ free(Options->Optionslist);
+
+
+ free(DEST->XROptions);
+ }
+
memset(DEST, 0, sizeof(struct DEST_LIST));
NUMBEROFNODES--;