From 0bf00690ff8329e0ff7f247e199cd0af696e2b91 Mon Sep 17 00:00:00 2001 From: Pere Pujal i Carabantes Date: Wed, 21 May 2014 21:23:00 +0000 Subject: [PATCH] Removing old code that leaked. --- src/onscreen_keyboard.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/onscreen_keyboard.c b/src/onscreen_keyboard.c index 72ca7d9d8..8934bc735 100644 --- a/src/onscreen_keyboard.c +++ b/src/onscreen_keyboard.c @@ -45,12 +45,10 @@ static void mtw(wchar_t * wtok, char * tok) char *wrptr; size_t n, in, out; iconv_t trans; - wchar_t * wch; n = 255; in = 250; out = 250; - wch = malloc(sizeof(wchar_t) * 255); ui16 = malloc(sizeof(Uint16) * 255); wrptr = (char *) ui16;