summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2011-05-22 18:49:44 +0000
committerJason Woodward2011-05-22 18:49:44 +0000
commit5bb022d221a53636548bf00b52d4ddcab4a33aa6 (patch)
tree533415c07ce3e3c0ac0c8ba90049cb57f59505e7
parentf3b0e45112532df817ec59f1240714b629d03082 (diff)
downloadslapt-get-5bb022d221a53636548bf00b52d4ddcab4a33aa6.tar.gz
free regex and installed package list in slapt_pkg_action_filelist
-rw-r--r--src/action.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/action.c b/src/action.c
index f8f47b6..ddd1acc 100644
--- a/src/action.c
+++ b/src/action.c
@@ -839,4 +839,6 @@ void slapt_pkg_action_filelist( const char *pkg_name )
printf("%s",filelist);
free(filelist);
+ slapt_free_regex(pkg_regex);
+ slapt_free_pkg_list(installed_pkgs);
}