This commit is contained in:
2015-08-22 12:35:16 +01:00
parent b3581d255c
commit 040c136746
2 changed files with 11 additions and 9 deletions

View File

@@ -304,9 +304,11 @@ static void main_window_unload(Window *window) {
battery_state_service_unsubscribe();
tick_timer_service_unsubscribe();
if (t) {
free(t);
}
// Apparently, freeing this pointer causes the watchface to crash on
// v3.3. Weird.
// if (t) {
// free(t);
// }
layer_destroy(s_battery_indicator_layer);
bitmap_layer_destroy(s_battery_icon_layer);