diff options
author | Thomas Graf <tgr@deb.localdomain> | 2007-12-17 16:52:41 +0100 |
---|---|---|
committer | Thomas Graf <tgr@deb.localdomain> | 2007-12-17 16:52:41 +0100 |
commit | 155ad439a49df034ec58ee4218834bc5b0120515 (patch) | |
tree | f57b8516e88f929f68f75ce08ae6bdc2220db4ca /lib/fib_lookup | |
parent | 91c330aae51cd6cd44ad730e10dc82724998c810 (diff) | |
download | libnl-155ad439a49df034ec58ee4218834bc5b0120515.tar.gz |
Fix memory leak when parsing netlink messages into caches
The reference created by the parsers was never given back.
Diffstat (limited to 'lib/fib_lookup')
-rw-r--r-- | lib/fib_lookup/lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fib_lookup/lookup.c b/lib/fib_lookup/lookup.c index d076ef9..5766035 100644 --- a/lib/fib_lookup/lookup.c +++ b/lib/fib_lookup/lookup.c @@ -114,7 +114,7 @@ static int result_msg_parser(struct nl_cache_ops *ops, struct sockaddr_nl *who, /* REAL HACK, fib_lookup doesn't support ACK nor does it * send a DONE message, enforce end of message stream * after just the first message */ - return NL_STOP; + err = NL_STOP; errout: flnl_result_put(res); |