Remember to free user/group cache on librpm shutdown (again)

I think this was here previously but has gotten erreonously removed
at some point - we do use rpmug from librpm so we need to free it too.
This commit is contained in:
Panu Matilainen 2024-01-16 14:59:08 +02:00
parent 1b32d3c87f
commit dec8bcc675
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@
#include "rpmio_internal.h" /* XXX for rpmioSlurp */
#include "misc.h"
#include "backend/dbi.h"
#include "rpmug.h"
#include "debug.h"
@ -1872,6 +1873,7 @@ void rpmFreeRpmrc(void)
rpmFreeCrypto();
rpmlua lua = rpmluaGetGlobalState();
rpmluaFree(lua);
rpmugFree();
rpmrcCtxRelease(ctx);
return;