aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 612d053..c2b8ecc 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2640,6 +2640,7 @@ Db_open(prefix="", write_perm=0)
} else {
RETVAL = NULL;
rpmtsFree(db->ts);
+ free(db);
}
OUTPUT:
RETVAL