diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-05-06 19:20:45 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-05-07 06:48:37 +0200 |
commit | 6615521060870a64f144343ec05956b3b73b5bd5 (patch) | |
tree | aa30c4216f9182957f423d43e001f4d64abeb43e /src | |
parent | bb6062d49c095e9efadefe439af5e19ef027f8f1 (diff) | |
download | cmumble-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |