On Tue, Aug 26, 2008 at 1:12 PM, Nagy Gabor <[EMAIL PROTECTED]> wrote: > >From aa4384123d2ca6068945f5f9574764dc5f334e67 Mon Sep 17 00:00:00 2001 > From: Nagy Gabor <[EMAIL PROTECTED]> > Date: Tue, 26 Aug 2008 12:57:08 +0200 > Subject: [PATCH] Rename alpm_get_md5sum to alpm_compute_md5sum and > alpm_dep_get_string to alpm_dep_compute_string > > This patch introduces the following function name convention: > _compute_ in function name: the return value must be freed. > _get_ in function name: the return value must not be freed. >
Sounds good to me. The only question I have after reading this patch is whether there are many others alpm functions which need to have their return value freed. _______________________________________________ pacman-dev mailing list [email protected] http://archlinux.org/mailman/listinfo/pacman-dev
