ubloxd free->delete, fixes #1742

old-commit-hash: 9e273eb2ec9830b4e2af82168e5f68da71c66761
This commit is contained in:
Willem Melching
2020-06-19 13:56:46 -07:00
parent 309bb796cd
commit 42f153e4e4
+1 -1
View File
@@ -104,7 +104,7 @@ int ubloxd_main(poll_ubloxraw_msg_func poll_func, send_gps_event_func send_func)
}
bytes_consumed += bytes_consumed_this_time;
}
free(msg);
delete msg;
}
delete subscriber;