Index: branches/FEPSimulator/HighwaysParser.cpp
===================================================================
--- branches/FEPSimulator/HighwaysParser.cpp	(revision 217)
+++ branches/FEPSimulator/HighwaysParser.cpp	(revision 218)
@@ -25,4 +25,25 @@
 
 HighwaysParser::~HighwaysParser() {
+    // deallocate FEPLines
+    for(int i = 0; i < this->lines.size(); i++)
+    {
+        delete this->lines.at(i);
+    }
+    // deallocate stations
+    for(int i = 0; i < this->stations.size(); i++)
+    {
+        // deallocate loops
+        for(int j = 0; j < this->stations.at(i)->loops.size(); j++)
+        {
+            // deallocate loop_loc
+            delete this->stations.at(i)->loops.at(j)->loop_loc;
+            // deallocate loop
+            delete this->stations.at(i)->loops.at(j);
+        }
+        // deallocate station dataPack message
+        delete this->stations.at(i)->dataPack;
+        // deallocate station
+        delete this->stations.at(i);
+    }
 }
 
