diff options
author | Florian Westphal <fw@strlen.de> | 2014-03-09 11:57:46 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2014-03-09 11:58:14 +0100 |
commit | 96fbef0830e14b7249e7b8418b9779ffed028a92 (patch) | |
tree | 1da88849d620c7ae2a82980a0460392f3ca3b089 /src | |
parent | 4596a11b838abe619d531f9d1556fcb9b90202c1 (diff) |
datatype: don't leak file ptr on error
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/datatype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datatype.c b/src/datatype.c index 7c287bdf..ac42faa8 100644 --- a/src/datatype.c +++ b/src/datatype.c @@ -603,7 +603,7 @@ struct symbol_table *rt_symbol_table_init(const char *filename) sscanf(p, "%u %511s #", &val, namebuf) != 2) { fprintf(stderr, "iproute database '%s' corrupted\n", filename); - goto out; + break; } /* One element is reserved for list terminator */ |