diff --git a/src/weather_app.c b/src/weather_app.c index 7b18793..7c23f26 100644 --- a/src/weather_app.c +++ b/src/weather_app.c @@ -160,6 +160,8 @@ static void main_window_unload(Window *window) { layer_destroy(data->icon_layer); text_layer_destroy(data->fake_statusbar); text_layer_destroy(data->pagination_layer); + + free(data); } static void after_scroll_swap_text(Animation *animation, bool finished, void *context) {