From b5c973c8c2968f608e79f9d317ba8e2f27ef1e71 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 9 Oct 2013 13:02:04 -0700 Subject: [PATCH] window.c: Free cursor theme name once we're done with it --- clients/window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/window.c b/clients/window.c index 5b20da5..c49e365 100644 --- a/clients/window.c +++ b/clients/window.c @@ -1321,6 +1321,7 @@ create_cursors(struct display *display) weston_config_destroy(config); display->cursor_theme = wl_cursor_theme_load(theme, size, display->shm); + free(theme); display->cursors = xmalloc(ARRAY_LENGTH(cursors) * sizeof display->cursors[0]); -- 2.7.4