[pacman-dev] [PATCH] check_keyring: plug memory leak

Andrew Gregory andrew.gregory.8 at gmail.com
Fri Jan 3 14:43:05 EST 2014


Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
 lib/libalpm/sync.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index e358585..e17476e 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -1031,6 +1031,7 @@ static int check_keyring(alpm_handle_t *handle)
 					}
 					FREELIST(keys);
 				}
+				free(decoded_sigdata);
 			}
 		}
 	}
-- 
1.8.5.2



More information about the pacman-dev mailing list