mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-12 15:50:36 -08:00
Fix null pointer
This commit is contained in:
@@ -28,8 +28,10 @@ void EvilPortal::setup() {
|
||||
}
|
||||
|
||||
void EvilPortal::cleanup() {
|
||||
free(index_html);
|
||||
index_html = nullptr;
|
||||
#ifdef HAS_PSRAM
|
||||
free(index_html);
|
||||
index_html = nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool EvilPortal::begin(LinkedList<ssid>* ssids, LinkedList<AccessPoint>* access_points) {
|
||||
|
||||
Reference in New Issue
Block a user