summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2016-05-06 19:20:45 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2016-05-07 06:48:37 +0200
commit6615521060870a64f144343ec05956b3b73b5bd5 (patch)
treeaa30c4216f9182957f423d43e001f4d64abeb43e /src
parentbb6062d49c095e9efadefe439af5e19ef027f8f1 (diff)
downloadcmumble-6615521060870a64f144343ec05956b3b73b5bd5.tar.gz
cmumble-6615521060870a64f144343ec05956b3b73b5bd5.tar.bz2
cmumble-6615521060870a64f144343ec05956b3b73b5bd5.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/io.c2
1 files changed, 1 insertions, 1 deletions
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