From 25508cf8338a989968b802918048c0ef197b5ff4 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 7 Jun 2017 19:42:38 +0200 Subject: [PATCH] Fix null pointer dereference --- src/algorithms/libs/rtklib/rtklib_ionex.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/algorithms/libs/rtklib/rtklib_ionex.cc b/src/algorithms/libs/rtklib/rtklib_ionex.cc index 41ebce9ba..c70a43fa6 100644 --- a/src/algorithms/libs/rtklib/rtklib_ionex.cc +++ b/src/algorithms/libs/rtklib/rtklib_ionex.cc @@ -392,7 +392,6 @@ void readtec(const char *file, nav_t *nav, int opt) if (!(fp = fopen(efiles[i], "r"))) { trace(2, "ionex file open error %s\n", efiles[i]); - fclose(fp); continue; } else