diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2014-04-28 21:01:48 -0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2014-05-14 20:19:52 -0300 |
commit | e84d912bd70bc6d906fd405bde486c332537effe (patch) | |
tree | c54a0661625e70e30137da2c11db705dcb42eacf | |
parent | b6d985c61aa8a267b6b6c26bb9d58626d97a7403 (diff) | |
download | kmod-e84d912bd70bc6d906fd405bde486c332537effe.tar.gz kmod-e84d912bd70bc6d906fd405bde486c332537effe.tar.bz2 kmod-e84d912bd70bc6d906fd405bde486c332537effe.zip |
Free realnames if kmod_lookup_alias_from_alias_bin() fails
-rw-r--r-- | libkmod/libkmod.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c index fe68134..babd73f 100644 --- a/libkmod/libkmod.c +++ b/libkmod/libkmod.c @@ -459,6 +459,7 @@ static int kmod_lookup_alias_from_alias_bin(struct kmod_ctx *ctx, fail: *list = kmod_list_remove_n_latest(*list, nmatch); + index_values_free(realnames); return err; } |