Commit 604452f1 604452f107cafe97e3a7b2d0b5147ad128219f89 by Sergey Poznyakoff

(read_rc): Bugfix. linebuf must be freed

no matter was the string accepted or not.
1 parent 50e90b94
......@@ -624,11 +624,11 @@ read_rc (const char *progname, const char *name, const char *capa[],
x_argv[x_argc++] = n_argv[i];
free (n_argv);
}
if (linebuf)
free (linebuf);
linebuf = NULL;
}
}
fclose (fp);
free(rcfile);
......