Fixed a memory leak

This commit is contained in:
beauby 2012-02-10 01:12:43 +01:00 committed by Michael Stapelberg
parent 4f14850173
commit b3e3ecf722
1 changed files with 1 additions and 0 deletions

View File

@ -293,6 +293,7 @@ static void finish() {
FILE *ks_config = fopen(config_path, "w");
if (ks_config == NULL)
err(1, "Could not open output config file \"%s\"", config_path);
free(config_path);
char *line = NULL;
size_t len = 0;