summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-01-03 20:43:05 +0100
committerAllan McRae <allan@archlinux.org>2014-01-06 05:38:51 +0100
commit480a9ff82fe6d560c7d6e7b6e5e5ecad30699f12 (patch)
tree38e7412c274658a83da8b85c2311edfd8a76d45c
parentffa4c6fc8f7b4dd3d70434759513571d3b4ac4c7 (diff)
downloadpacman-480a9ff82fe6d560c7d6e7b6e5e5ecad30699f12.tar.gz
pacman-480a9ff82fe6d560c7d6e7b6e5e5ecad30699f12.tar.xz
check_keyring: plug memory leak
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--lib/libalpm/sync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index c61ffd38..4ae01ac0 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -1026,6 +1026,7 @@ static int check_keyring(alpm_handle_t *handle)
}
FREELIST(keys);
}
+ free(decoded_sigdata);
}
}
}