Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=b20d936efd25e9ea888c13b497b5590671e49bb2
commit b20d936efd25e9ea888c13b497b5590671e49bb2 Author: Priyank <priy...@frugalware.org> Date: Mon Jun 8 15:55:30 2009 +0530 pacman_pkg_getowners(): added a note about not freeing return value diff --git a/lib/libpacman/pacman.c b/lib/libpacman/pacman.c index 913b72e..ed615a8 100644 --- a/lib/libpacman/pacman.c +++ b/lib/libpacman/pacman.c @@ -499,7 +499,8 @@ void *pacman_pkg_getinfo(pmpkg_t *pkg, unsigned char parm) /** Get a list of packages that own the specified file * @param filename name of the file - * @return the list of packages on success, NULL on error + * @return the list of packages on success, NULL on error. The returned + * list is an internally cached list and shouldn't be freed. */ pmlist_t *pacman_pkg_getowners(char *filename) { _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git