More cleanup

This commit is contained in:
Lorenz Meier
2013-02-04 18:00:10 +01:00
parent 13ec067570
commit d4bd7225ba
2 changed files with 13 additions and 12 deletions
+2 -1
View File
@@ -341,7 +341,8 @@ GPS::task_main()
if (_mode_changed) {
if (_Helper != nullptr) {
delete(_Helper);
_Helper = nullptr; // XXX is this needed?
/* set to zero to ensure parser is not used while not instantiated */
_Helper = nullptr;
}
switch (_mode) {