summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ab87e56)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
char *config_header;
config_header = grab_file(NULL, fname);
char *config_header;
config_header = grab_file(NULL, fname);
+ if (!config_header) {
+ tal_free(fname);
lines = tal_strsplit(config_header, config_header, "\n", STR_EMPTY_OK);
for (i = 0; i < tal_count(lines) - 1; i++) {
lines = tal_strsplit(config_header, config_header, "\n", STR_EMPTY_OK);
for (i = 0; i < tal_count(lines) - 1; i++) {