From d403a844e3599488090668c9aec776f123ffdd76 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 7 Apr 2013 23:22:12 +0200 Subject: [PATCH] (PC) Fix main build - would no longer compile --- gfx/thread_wrapper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gfx/thread_wrapper.c b/gfx/thread_wrapper.c index a9f0e1e6ba..52c4e2cfde 100644 --- a/gfx/thread_wrapper.c +++ b/gfx/thread_wrapper.c @@ -529,7 +529,9 @@ static void thread_free(void *data) thread_wait_reply(thr, CMD_FREE); sthread_join(thr->thread); +#if defined(HAVE_RGUI) || defined(HAVE_RMENU) free(thr->texture.frame); +#endif free(thr->frame.buffer); slock_free(thr->frame.lock); slock_free(thr->lock);