Bluetooth: Don't leak memory

This commit is contained in:
Linus Dierheimer
2023-01-25 00:02:54 +01:00
parent 6961488d38
commit 0f2022bd40
+2
View File
@@ -59,4 +59,6 @@ void ffPrintBluetooth(FFinstance* instance)
uint8_t index = (uint8_t) (filtered.length == 1 ? 0 : i + 1);
printDevice(instance, *(FFBluetoothDevice**)ffListGet(&filtered, i), index);
}
ffListDestroy(&filtered);
}