Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=4cfd5cb3bde0c2c078c0c82cd36192cd61df26ec

commit 4cfd5cb3bde0c2c078c0c82cd36192cd61df26ec
Author: Priyank <[EMAIL PROTECTED]>
Date:   Wed Sep 19 21:47:04 2007 +0530

gfpm_check_if_package_updatable (): free PM_PKG pointers before returning.

diff --git a/src/gfpm-util.c b/src/gfpm-util.c
index 45fc91e..7a5bc12 100644
--- a/src/gfpm-util.c
+++ b/src/gfpm-util.c
@@ -78,6 +78,8 @@ gfpm_check_if_package_updatable (const gchar *package)
return 1;
}
}
+       pacman_pkg_free (pm_glpkg);
+       pacman_pkg_free (pm_gspkg);

return 0;
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to