more memory leaks fixes

This commit is contained in:
Philippe G
2022-01-04 15:09:26 -08:00
parent 97793ceea8
commit 685ac92f6e
6 changed files with 9 additions and 3 deletions

View File

@@ -103,6 +103,7 @@ void SpircController::prevSong() {
}
void SpircController::handleFrame(std::vector<uint8_t> &data) {
pb_release(Frame_fields, state->remoteFrame);
pbDecode(state->remoteFrame, Frame_fields, data);
switch (state->remoteFrame.typ) {