mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 07:48:50 -05:00
Fix small memory leak in sig check code
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
c5982a3eb5
commit
be72e10015
@ -539,6 +539,7 @@ int SYMEXPORT alpm_sigresult_cleanup(alpm_sigresult_t *result)
|
||||
* values in the struct. Only look at them if count is greater than 0. */
|
||||
if(result->count > 0) {
|
||||
free(result->status);
|
||||
free(result->validity);
|
||||
if(result->uid) {
|
||||
int i;
|
||||
for(i = 0; i < result->count; i++) {
|
||||
|
@ -68,7 +68,6 @@
|
||||
Memcheck:Leak
|
||||
fun:malloc
|
||||
...
|
||||
fun:_gpgme_set_engine_info
|
||||
fun:gpgme_set_engine_info
|
||||
}
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user