From a34403e33b3eb50baccc0c48a7c52cf43741e921 Mon Sep 17 00:00:00 2001 From: Simon Levermann Date: Sun, 11 Aug 2013 17:51:10 +0200 Subject: Fix a possible memory leak --- testing/toxic/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/toxic/main.c b/testing/toxic/main.c index d7d375a3..752453f2 100644 --- a/testing/toxic/main.c +++ b/testing/toxic/main.c @@ -410,6 +410,7 @@ int main(int argc, char *argv[]) strcat(DATA_FILE, CONFIGDIR); strcat(DATA_FILE, "data"); } + free(user_config_dir); /* This is broken */ int f_loadfromfile = 1; -- cgit v1.2.3