From 6615521060870a64f144343ec05956b3b73b5bd5 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 6 May 2016 19:20:45 +0200 Subject: io.c: Use g_free where appropriate instead of free doesn't result in an error but it's technically incorrect to mix g_strdup with free. --- src/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io.c b/src/io.c index 874841a..d722f16 100644 --- a/src/io.c +++ b/src/io.c @@ -183,7 +183,7 @@ process_line(char *line) if (cm->commands[i].name == NULL) g_print("Unknown command: %s\n", line); out: - free(line); + g_free(line); } int -- cgit